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

541945a · Dec 29, 2024

History

25 Commits
Jul 18, 2021
Dec 29, 2024
Aug 24, 2021
Feb 7, 2022
Jun 15, 2021
Feb 7, 2022
Sep 4, 2023
Feb 7, 2022
Nov 4, 2024

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