Giter Site home page Giter Site logo

2kabhishek / byteblog Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 1.0 216 KB

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

Home Page: http://172.105.38.52

License: GNU General Public License v3.0

Python 75.25% HTML 22.77% Mako 0.77% Dockerfile 0.68% Shell 0.46% Procfile 0.07%
flask flask-sqlalchemy flask-migrate flask-login python microblogging-service rest-api

byteblog's Introduction

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 can work with any database.

  • Migrate Database: Built with Flask Migrate to aid in database migrations, a database migration can be done with one simple command flask db upgrade.

  • Universal Deployment: Byteblog comes with all the configurations so that it can be deployed locally, on Docker, on VirtualBox and Heroku.

  • Ephemeral Database: Byteblog's production deployment on Heroku uses an ephemeral database which guarantees user data security and privacy.

  • REST API Support: Byteblog has JSON API support added to it so developers can add new API routes and build apps for any platform they wish.

  • Testing Support: Byteblog has testing support added to it so that changes can be verified before deploying to production, new tests can be added easily too.

Dev Setup

git clone https://github.com/2kabhishek/Byteblog
cd Byteblog
pip install virtualenv
virtualenv env
source env/bin/activate
pip install -r ./requirements/development.txt
flask db upgrade
flask run

byteblog's People

Contributors

2kabhishek avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

markliuyuxiang

byteblog's Issues

Bug in profile popup for anonymous users

For anonymous users, on hovering over a username, the popup displays the login form. Here is the screenshot of the same.
image
Also, the popup does not disappear after that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.