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 - amirwahla/RestApi_flask_sql.alchemy: Product REST API With Flask & SQL Alchemy
Product REST API With Flask & SQL Alchemy. Contribute to amirwahla/RestApi_flask_sql.alchemy development by creating an account on GitHub.