Skip to content

DigiLokal/DILO-FastAPI-Draft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alt text

DILO FastAPI

This is a FastAPI project that provides an API for DigiLokal.

Installation

  1. Create a Python virtual environment:

    python -m venv env
    
  2. Activate the virtual environment:

  • On Windows:
    .\env\Scripts\activate
    
  • On macOS and Linux:
    source env/bin/activate
    
  1. Install the project dependencies from requirements.txt:
pip install -r requirements.txt

Usage

  1. Run the FastAPI server:
  • Use this to run the server
    python main.py
    
  • If cannot try this
    python3 main.py
    
  1. Documentation
  • API documentation and interactive UI can be accessed at http://127.0.0.1:8000/docs.
  • Alternatively, you can explore the API endpoints using tools like Postman.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages