This is a FastAPI project that provides an API for DigiLokal.
-
Create a Python virtual environment:
python -m venv env -
Activate the virtual environment:
- On Windows:
.\env\Scripts\activate - On macOS and Linux:
source env/bin/activate
- Install the project dependencies from requirements.txt:
pip install -r requirements.txt
- Run the FastAPI server:
- Use this to run the server
python main.py - If cannot try this
python3 main.py
- 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.
