Library API.
This project is a library API.
To install and run the library API, follow these steps:
-
Clone the repository:
git clone https://gitlab.com/Selector0073/librarysite cd librarysite -
Set up the environment variables:
- Create .env file using the .env.example template.
-
Start the container:
docker compose up
-
Acces the API:
The API should now be accessible at
http://localhost:8000. The mail client should now be accessible athttp://localhost:8025.
- Access the API: Make an http request through a program like Postman.
- Admin interface: Access the admin interface by navigating to
http://localhost:8000/admin/. Log in with the superuser credentials (default: username:adminpassword:adminpass). - Acces the mail client: emails can be read in MailHog at
http://localhost:8025.
This project is licensed under the MIT License.