DEV Community

Abhishek Keshri
Abhishek Keshri

Posted on

I made mini Twitter and migrated it from Heroku to Linode ๏ธ๐Ÿฆ ๏ธ๐Ÿง

What I built

Byteblog, a byte sized blogging platform.
I migrated it from Heroku to Linode.

Category Submission:

Smooth Shifters

App Link

Live on Linode

Description

Byteblog is a minimalist micro-blogging platform built with Pyhton Flask for anyone seeking a quieter "Social Media".

A user can easily register for Byteblog with their email id and password and then can easily share their bytes (similar to tweets in twitter) and also follow other people to read their thoughts, users can also message other users who follow them.

Link to Source Code

GitHub logo 2KAbhishek / Byteblog

A minimalist microblogging platform ๐Ÿฆ๐Ÿ”‡

Byteblog is a minimalist micro-blogging platform built with Pyhton Flask for anyone seeking a quieter "Social Media".

A user can easily register for Byteblog with their email id and password and then can easily share their bytes (similar to tweets in twitter) and also follow other people to read their thoughts, users can also message other users who follow them.

Features

  • Posts
  • Follow/Unfollow Users
  • Messages
  • Notifications

It was created to learn about various concepts of web application development including concepts like authentication, localization, deployments, testing, REST API building etc.

Technologies Used

  • Python Flask
  • SQL Alchemy
  • Bootstrap
  • WTForms
  • Moment.js
  • More including various flask plugins

Technical Features

Here are a few technical highlights of Byteblog.

  • Modular Design Built with Flask Blueprint to promote code reusability and modular design, parts of this project can be integrated into other projects without much changes.

  • Universal Database Support Uses SQL Alchemy for database interactions andโ€ฆ

Permissive License

LICENCE

Background

I had built Byteblog earlier and had deployed it on Heroku, but there were some platform issues there and after Heroku shut down their free tier I had to shut it down.

I wanted to try out Linode for a long time but never had the opportunity, seeing this opening with Dev hackathon I finally decided to take the plunge and play with Linode.

How I built it

I assumed that working with Linode will be very complicated, since it gives you all controls to the server, that actually turned out to be one of the pros.

It was so easy to go and edit any configs I wanted and have the changes reflect instantly.

I was able to setup the application within minutes, the web console provided by Linode was also very easy to use.

Some of the pros:

  • Setup ssh keys and passwords during login, with a easy to use UI
  • Easily accessible controls and settings
  • Super fast network connection
  • Full visibility on pricing
  • Really good docs for all the steps
  • Ready to use marketplace apps

There are still things I'd like to explore like the LISH and maybe try out more containers with other images.

I also want to setup a remote dev box with Arch and my Dotfiles.

Additional Resources/Info

I found this article useful while setting up the migration

Top comments (0)