To get started with the Planetarium API Service, follow these steps:
-
Clone the repository:
git clone https://github.com/Artemh59/Planetarium_API.git
-
Navigate to the project directory:
cd Planetarium
-
Set up the environment variables:
Create a .env file based on the provided .env.example.
-
Start the server:
python manage.py runserver
- You need to install docker and run next:
docker-compose build docker-compose up
-
Creating user: /api/user/register/
-
Get access token: /api/user/token/