Skip to content

shennguyenrs/reaktor-trainee-2023

Repository files navigation

Reaktor pre-assignment 2023

reaktor-trainee

Here is my solution for pre-assignment. The application was built using:

Prerequisites

Prepare your machine has installed:

  • Docker & Docker Compose

You will need to create new directory named mongodb. Then, it is necessary to creating .env file for frontend, backend, and database to the following format:

// front/.env

PUBLIC_API_URL=

// back/.env

MONGO_URI=
DB_NAME=
VIOLATION_LIST=
DRONES_API=https://assignments.reaktor.com/birdnest/drones
PILOT_API=https://assignments.reaktor.com/birdnest/pilots
// mongodb/.env

MONGO_INITDB_ROOT_USERNAME=
MONGO_INITDB_ROOT_PASSWORD=
MONGO_INITDB_DATABASE=

Run the application

You can run the application using the script run-prod.

sh ./run-prod.sh

To clean the production container, You can use the script clean-prod.

sh ./clean-prod.sh

About

My solution for Reaktor trainee pre-assigment 2023

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published