NLW 04 - NodeJS

Technologies   |    Project   |    Diagram   |    How to run

NLW 04


✨ Technologies

This project was developed with the following technologies:

💻 Project

This is an application that consists of calculating a Company's NPS (Net Promoter Score). The NPS objective is to assess customer satisfaction, asking “from 0 to 10, how much would you recommend our company to friends?”. The formula for calculating NPS is: % promoting customers (grades 9 and 10) - % detrimental customers (grades 0 to 6) = NPS

The application registrates users, surveys and send e-mail for users to respond the satisfaction surveys and with the chosen value is possible to calculate the NPS.

This project was developed during the fourth edition of NLW (Next Level Week) from RocketSeat. Concepts learned:

  • What is an API
  • How to start a project using Typescript and Express for route management
  • TypeORM for data manipulation
  • Automated tests with Jest
  • Sending e-mail with Ethereal

🔶 Diagram

Application Diagram

🚀 How to run

# Clone this repository
$ https://github.com/laise-tanaka/nlw-04-nodejs.git

# Install dependencies
$ npm install

# Start the project
$ npm run dev

# Test the project
$ npm run test

The application can be accessed at localhost:3000.