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 >> .envFirst, install the project dependencies.
npm installRun the migrations to create the database tables.
npm run migrate:runFor reset the database, run the command below.
npm run migrate:resetRun the development server.
npm run devRun the production server.
npm run startIf you are interested in participating in joint development, PR and Forks are welcome!
MIT Copyright (c) 2024 - Jhonatan Hardt de Medeiros