Skip to content

imallakov/CatsRESTAPI

Repository files navigation

REST API for Cats web app

Installation

  1. Clone repo to your local machine
  2. Add .env file with these data:
SECRET_KEY=your_secret_key
DEBUG=TRUE OR FALSE(Default)
DATABASE_URL=postgres://{dbusername}:{password}@db:5432/{dbname}
  1. Build docker with command:
    docker-compose up --build

Then you are ready to go!)

Swagger Documentation URL:

http://127.0.0.1:8000/swagger/

Inital data that project create so you can test it:


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

About

Rest API for Cats application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published