Skip to content

MahmudulHassan5809/FlaskRestApiWithReact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API With Flask & SQL Alchemy & REACT

Products API using Python Flask, SQL Alchemy , Marshmallow And REACT

Quick Start Using Pipenv For Server

# 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

Quick Start for client

Install dependencies

npm run client-install

Run the client & server with concurrently

npm start

Server runs on http://localhost:5000 and

Endpoints

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

App Info Author

Mahmudul Hassan

Version

1.0.0 License

This project is licensed under the MIT License