Skip to content

Resource management API made to practice creating automated tests, documentation with Swagger and Docker

Notifications You must be signed in to change notification settings

joseluisbezerra/resource-management-api

Repository files navigation

Resource Management API

Resource management API made to practice creating automated tests, documentation with Swagger and Docker

Installation

  1. After cloning the project, create an .env file from the .env-example file as well as add the missing environment variables (you can generate the SECRET_KEY through this website https://djecrety.ir/):
cp .env-example .env
  1. Create and start the containers:
docker compose up -d --build
  1. Run the tests and flake8 to see if everything is ok:
docker compose exec web bash "-c" "python manage.py test && flake8"
  1. Create a super user:
docker compose exec web bash "-c" "python manage.py createsuperuser"
  1. Test the installation by accessing the development server, API documentation is available at http://127.0.0.1:8000/documentation/.

About

Resource management API made to practice creating automated tests, documentation with Swagger and Docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published