Skip to content

albertguedes/python-flask-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Flask API

A simple REST API built with Flask and database migration support.

Features

  • RESTful API endpoints
  • Database migrations via Flask-Migrate (Alembic)
  • Seed data support

Tech Stack

  • Flask (Python)
  • Flask-Migrate
  • SQLAlchemy

Installation

git clone https://github.com/albertguedes/python-flask-api.git
cd python-flask-api
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

# Database setup
flask db init
flask db migrate -m "Create initial models"
flask db upgrade

# Seed data
python seeds/seed.py

flask run

License

MIT License - see LICENSE

About

A simple project that uses the python framework flask to create an api serve.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors