aakarsh0 / flask_sqlalchemy_rest

Products REST API using Flask, SQL Alchemy & Marshmallow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Products REST API using Flask, SQL Alchemy & Marshmallow


Languages

Language:Python 100.0%