Skip to content

JoaoEmanuell/qu1ck-technical-test

Repository files navigation

Português Brasil

qu1ck-technical-test

Project for the qu1ck selection process.

Creation of a workflow with a chatbot for a pizzeria, featuring a chatbot that uses artificial intelligence to respond to users.

Includes an inventory, order management system, and notifications in case any inventory item is running low.

Getting Started

Docker

docker-compose=>2.24.6
docker=>24.0.7

Copy the .env file and fill in the required information.

cp .env_example ./qu1ck-technical-test/.env

Build the project.

docker compose build

Start the container.

docker compose up -d

Migrations

Should only be run during the first container execution.

Access the web container using sh.

docker container exec -it qu1ck-technical-test-web-1 sh

Run the migrations.

npm run migration:run

Exit the container.

exit

Your application is available at localhost:8080.

Node

Navigate to the project directory.

cd qu1ck-technical-test

Copy the .env file and fill in the required information.

cp ../.env_example .env

Install the dependencies.

npm install

Run the prisma generate

npm run prisma:generate

Run migrations

npm run migration:run

Build the project.

npm run build

Start the server.

npm run start

The default server address is localhost:8080.

Documentation

Click here to access the API documentation.