-
Clone the repository:
git clone https://github.com/lyxuansang91/python-boilerplate-api.git cd python-boilerplate-api -
Install dependencies using poetry:
poetry install
-
Start the application using Docker:
docker-compose up --build
After starting the application, you can access the API documentation at:
http://localhost:8000/docs
To run tests, use the following command:
poetry run pytestpython-boilerplate-api/
├── app/
│ ├── api/
│ ├── core/
│ ├── models/
│ ├── schemas/
│ ├── services/
│ ├── main.py
│ └── ...
├── tests/
│ ├── ...
├── docker-compose.yml
├── Dockerfile
├── pyproject.toml
└── README.md
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature-branch). - Create a new Pull Request.
This project is licensed under the MIT License.