Skip to content

Latest commit

 

History

History
81 lines (51 loc) · 1.26 KB

README.md

File metadata and controls

81 lines (51 loc) · 1.26 KB

Instagrami

Backend FastAPI & React UI

This is an Instagram like simple project intended to work with any UI JS framework, here UI lib used is React.js.


Database

SQLITE is used, but any other database can be used instead in case of production.

Database Schema:


Authentication OAuth2 is used :


Endpoints :


Start

FastAPI
  • Use a virtual environment that you prefere.Could be pipenv | venv | conda. in Instagrami main folder.
  • activate your choice virtual environment, in my case (Unix):
source ./venv/bin/activate
  • Go to src folder
  • Install the required packages
pip install -r requirements.txt
  • Run the server
uvicorn main:app --reload

React
  • Go to the ui folder:
  • Install node_modules:
npm install || yarn
  • Run the server:
npm run start