Skip to content

Flask API built with Python, Flask and SQLAlchemy to be used as a starter template

Notifications You must be signed in to change notification settings

caseyr003/flask-api-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask API Template

This project is a flask api built with Python, Flask and SQLAlchemy to be used as a starter template.

Built With

Prerequisites

You will need the following things properly installed on your computer:

Installation

  • run git clone https://github.com/caseyr003/flask-api-template.git

Running

To run the project locally follow the following steps:

  • change into the project directory
  • docker build -t backend-api .
  • docker run -p 5000:5000 --name api backend-api

JSON API

The JSON API has sample endpoints to start development

  • http://localhost:5000/ (returns hello world html)

  • http://localhost:5000/api/users (returns all users in database)

  • http://localhost:5000/api/user/<user_id>/items (returns all items for users)

License

This project is licensed under the MIT License

About

Flask API built with Python, Flask and SQLAlchemy to be used as a starter template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published