/IQ-IT-ES--Test

This is a test submitted to Executive Chinmayi from IQ IT and Engineering Services

Primary LanguageJavaScript

Incomplete Template

What is this repository for?

Development

Prerequisites
  • Docker Compose Cli Plugin
Setup up development environment
make
Run (development servers)
make run
Run tests (Currently None)
make test
docker-compose.override.yml

Use docker-compose.override.yml to override compose settings locally.

Default Ports
  • The database listens on host port 5454 by default and 5432 in docker network
  • The api server listens on port 8000 by default
  • The admin server listens on port 8001 by default
  • The pywine server listens on port 8002 by default
  • The frontend server listens on port 3000 by default
Access application

Misc

TODO: Swagger UI

Accessing the API application root URL (/) launches Swagger UI.
Swagger UI lists all public endpoints by default. In order to list all available endpoints you need to login using the "Authorize" button. Just drop a valid token from the token endpoint with the prefix "Bearer" into the input field. For example:

Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NjU4Njg0NTQsIm9yaWdfaWF0IjoxNTY1NzgyMDU0LCJ1c2VyX2lkIjoxLCJvcmdhX2lkIjoyLCJlbWFpbCI6ImJ1ZXR0Z2VuYmFjaEBkYXRhY29sbGVjdC5jb20iLCJpc19zdXBlcnVzZXIiOnRydWUsImlzX2Rpc3RyaWJ1dG9yIjp0cnVlLCJ0eiI6IkV1cm9wZS9CZXJsaW4ifQ.5S71Wauol5uNou2I2HxkeOunGP8ro_8X7h2_NNJO1Ck
Environment variables

There are several environment variables to control the application behaviour.

@TODO: Create complete list of existing environment variables.

Contributing (Will be Considered when MVP is successful)

@TODO: coding conventions for python projects

@TODO: coding conventions for Django projects

@TODO: coding conventions for DRF projects