Skip to content

EdgarPozas/APILibraryInFlask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

APILibraryInFlask

This project has end points which interact with MySQL database

Requirements

You need the following programs:

  • Python (>=3.9.0)
  • Flask (>=1.1.2)
  • MySQL

Installation

First download or clone the repository. Next to place inside the folder.

Run

In order to start the server, first make sure that you have the virtual environment created if not run the next command

#for windows
py -3 -m venv venv
#for linux
python3 -m venv venv

Next run the activate command which is placed inside the folder vent/Scripts

#for windows
.\venv\Scripts\activate.bat
#for linux
.\venv\Scripts\activate

Once the virtual environment is activated set the variable of the entry point

#for windows
set FLASK_APP=app.py
#for linux
export FLASK_APP=app.py

Finally run the next command to start the server

python app.py

Developed by Edgar Pozas

Releases

No releases published

Packages

No packages published

Languages