This project is a Secret Friend Generator API that allows users to create and manage secret friend events.
Make sure you have the following installed on your machine:
Clone the repository:
git clone https://github.com/johngrandson/secret-friend-generator-api.git
Navigate to the project directory:
cd secret-friend-generator-api
Load the virtual environment:
poetry shell
Install the dependencies:
poetry install
Navigate to the docker
directory:
cd docker
Start the services using docker-compose
:
docker-compose up -d
Start the development server:
poetry run start
The API will be running at http://localhost:8000
.
To run the tests, use the following command:
poetry run pytest
The API documentation is available at http://localhost:8000/docs
once the server is running.
If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.
If you have any questions or suggestions, feel free to open an issue or contact the project maintainers.