REST API With Flask & SQL Alchemy

Products API using Python Flask, SQL Alchemy and Marshmallow

Quick Start Using Pipenv

# Activate venv
$ pipenv shell

# Install dependencies
$ pipenv install

# Create DB
$ python
>> from app import db
>> db.create_all()
>> exit()

# Run Server (http://localhst:5000)
python app.py

Endpoint

  • GET /product
  • GET /product/:id
  • POST /product
  • PUT /product/:id
  • DELETE /product/:id

GitHub

View Github