Skip to content

This project is a Flask REST API that uses Flask-RESTX for API development, Flask-SQLAlchemy for database management, JWT Auth for authentication, and MySQL for storage. The API also includes Swagger UI for documentation and testing. The purpose of the project is to demonstrate my skills in building REST APIs and to serve as a portfolio piece.

Notifications You must be signed in to change notification settings

MicBun/flask-rest-api-jwt-auth-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask REST API with Flask, SQLAlchemy, JWT Auth, and MySQL

This project is a Flask REST API that uses Flask for API development, SQLAlchemy for database management, JWT Auth for authentication, and MySQL for storage. The API also includes Swagger UI for documentation and testing.

Installation

To install the necessary dependencies for this project, run the following command:

pip install -r requirements.txt

This will install all the necessary libraries and modules, including Flask, SQLAlchemy, and JWT Auth.

Running the Project

To run the project, follow these steps:

  1. Modify the .env file with the necessary environment variables.
  2. Run the following command:
flask run

This will start the Flask development server and allow you to access the API from your local machine.

Live Demo

You can view a live demo of the project at http://micbun.pythonanywhere.com. The demo includes documentation and testing functionality provided by Swagger UI.

About

This project is a Flask REST API that uses Flask-RESTX for API development, Flask-SQLAlchemy for database management, JWT Auth for authentication, and MySQL for storage. The API also includes Swagger UI for documentation and testing. The purpose of the project is to demonstrate my skills in building REST APIs and to serve as a portfolio piece.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published