Skip to content

Python micro web framework Flask which develops restful APIs services basically CRUD operations.

Notifications You must be signed in to change notification settings

mbrsagor/flaskRestapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Rest API

Flask restful API project.

Instructions
  • Python3.8
  • Flask
  • postgresql

Open your bash or terminal or ZSH then follow the instruction for ru the project in your local development server or somewhere else. Here, the following setup for Mac I think linux should be same.

git clone https://github.com/mbrsagor/flaskRestapi.git
cd flaskRestapi
virtualenv venv --python=python3.8
source venv/bin/activate
pip install -r requirements.txt
python app.py
Migrate sqlite.db

pip install Flask-SQLAchemy

from models import db
db.create_all()
Set environment variables in terminal
export FLASK_APP=app.py
export FLASK_ENV=development

About

Python micro web framework Flask which develops restful APIs services basically CRUD operations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published