Skip to content

a simple api using flask, provided 5 end points with RESTful design.

Notifications You must be signed in to change notification settings

SDPxUltimate/simple-flask-api

Repository files navigation

simple-flask-api

a simple api using flask, provided 5 end points with RESTful design.

Installation

  1. Set up a virtual environment:

    python3 -m venv venv  
  2. Activate the virtual environment:

  • For macOS/Linux:

    source venv/bin/activate  
  • For Windows:

    venv\Scripts\activate  
  1. Install dependencies:

    pip install -r requirements.txt 

Running the Application

  1. Navigate to the /app directory:
    cd app
  2. Run the Flask app:
    python app.py

API Endpoints

  1. GET /user
  2. POST /user/new
  3. PUT /user/[uid]
  4. GET /user/[uid]
  5. DELETE /user/[uid]

users entity

ERD

About

a simple api using flask, provided 5 end points with RESTful design.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published