/Shayp-Python-Api

Products REST API using Flask, SQL Alchemy & Marshmallow

Primary LanguagePython

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

Endpoints

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