This project is part of the final challenge of Rocketseat bootcamp course. It's a delivery application of a fantasy pizza parlor.
This application allows the creation of products of different categories and sizes, and order management, which can be done by the administrator on the web. The customer, using the app can view the products, add to cart and place a order. It also allows image upload.
This AdonisJS API is consumed by an mobile app, for customers, and an web app for managing. Both were built with React, check them out.
Cloning the repo
git clone https://github.com/CaioQuirinoMedeiros/delivery_api.git
cd delivery_api
Installing dependencies
npm install
Set the environment variables in a .env file as exemplified in the .env.example
Run the migrations to create the database
npx adonis migration:run
Run the seeds to populate the database
npx adonis seed
Just start the server
npm run start