Giter Club home page Giter Club logo

blogsite's Introduction

GitHub GitHub repo size

Bloglite

create virtual enviroment

command: pip install virtualenv
command: virtualenv <venv_name>

Learn more about virtual enviroment refer to

https://medium.com/@asusrishabh/requirements-txt-in-python-947b0b43bbe6
  • use requirement.txt to install compatible packages
command: pip install -r requirment.txt
  • To run flask server
command: python main.py

Description

Bolglite is a simple blog application like Instagram, twitter or Linkedin, It is a multi user app with login, feed, post/blog, with various features like follow/unfollow, edit profile/post and search.
This consist of two APIs for CRUD operation on USER and BLOG/POST

  • Technologies used
  1. Python (Programming Language)
  2. Flask (Web Framework)
  3. HTML (HTML Doc.)
  4. Bootstrap (Frontend)
  5. Flask-RESTful==0.3.9 (RESTAPIs)
  6. Flask-SQLAlchemy==3.0.2 (SQLite connection)
  7. Jinja2==3.1.2 (HTML injection)
  8. SQLAlchemy==1.4.45 (SQLite connection)
  9. Werkzeug==2.2.2 ( To secure file)

APIs are for CRUD Operation on USER & BLOG/POST

  • For UserAPI
GET:- localhost:8080/users/{userid}
POST:- localhost:8080/users/
PUT:- localhost:8080/users/{userid}
DELETE:- localhost:8080/users/{userid}
  • For POST/BLOG_API
GET:- localhost:8080/posts/{postid}
POST:- localhost:8080/posts/
PUT:- localhost:8080/posts/{postid}
DELETE:- localhost:8080/posts/{postid}

(check API.pdf for hints to check APIs)

DB Schema Design

image

└── Blog Site
    ├── static
    ├── templates
    ├── api.py
    ├── main.py
    ├── controller.py
    ├── model.py
    ├── requirement.txt
    ├── database.sqlite3

blogsite's People

Contributors

rishabh11336 avatar

Stargazers

Naman Sehwal avatar Gokulakrishnan M avatar

Watchers

 avatar

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.