This project is a simple API for creating and managing polls. It was developed during the Next Level Week 14 event, promoted by Rocketseat.
Create a .env
file in the root of the project, using the .env.example
file as a model.
cat .env.example >> .env
First, install the project dependencies.
npm install
Run the migrations to create the database tables.
npm run migrate:run
For reset the database, run the command below.
npm run migrate:reset
Run the development server.
npm run dev
Run the production server.
npm run start
If you are interested in participating in joint development, PR and Forks are welcome!
MIT Copyright (c) 2024 - Jhonatan Hardt de Medeiros