a simple api using flask, provided 5 end points with RESTful design.
-
Set up a virtual environment:
python3 -m venv venv
-
Activate the virtual environment:
-
For macOS/Linux:
source venv/bin/activate
-
For Windows:
venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
- Navigate to the /app directory:
cd app
- Run the Flask app:
python app.py
- GET /user
- POST /user/new
- PUT /user/[uid]
- GET /user/[uid]
- DELETE /user/[uid]