REST API for Cats web app
- Clone repo to your local machine
- Add .env file with these data:
SECRET_KEY=your_secret_key
DEBUG=TRUE OR FALSE(Default)
DATABASE_URL=postgres://{dbusername}:{password}@db:5432/{dbname}
- Build docker with command:
docker-compose up --build
Then you are ready to go!)
http://127.0.0.1:8000/swagger/
Admin:
username='admin'
email='admin@example.com'
password='adminpass'
User1:
username='ordinary_user1'
email='user1@example.com'
password='password1'
User2:
username='ordinary_user2'
email='user2@example.com'
password='password2'
Breeds: Siamese
, Persian
Cats: Whiskers
, Fluffy