/nlw-expert-14-polls

This project is a simple API for creating and managing polls. It was developed during the Next Level Week 14 event, promoted by Rocketseat.

Primary LanguageTypeScriptMIT LicenseMIT

Next Level Week 14 - Poll API

This project is a simple API for creating and managing polls. It was developed during the Next Level Week 14 event, promoted by Rocketseat.

💻 Getting Started

⌨️ Development

☕ Environment

Create a .env file in the root of the project, using the .env.example file as a model.

cat .env.example >> .env

🚀 Install Dependencies

First, install the project dependencies.

npm install

🎲 Data Base Migrations

Run the migrations to create the database tables.

npm run migrate:run

For reset the database, run the command below.

npm run migrate:reset

🏗 Start the Server

Run the development server.

npm run dev

Run the production server.

npm run start

🛠 Technology Stack

🤝 Contribute PRs Welcome

If you are interested in participating in joint development, PR and Forks are welcome!

📜 License

MIT Copyright (c) 2024 - Jhonatan Hardt de Medeiros