https://github.com/librity/nlw4_nodejs
Rocket Seat - Next Level Week 4 - NodeJS - Net Promoter Score API.
https://github.com/librity/nlw4_nodejs
nlw-4 nodejs nps-api rocketseat rocketseat-nlw
Last synced: about 1 month ago
JSON representation
Rocket Seat - Next Level Week 4 - NodeJS - Net Promoter Score API.
- Host: GitHub
- URL: https://github.com/librity/nlw4_nodejs
- Owner: librity
- License: mit
- Created: 2021-02-26T19:35:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-25T12:05:06.000Z (over 4 years ago)
- Last Synced: 2025-02-25T17:46:08.264Z (over 1 year ago)
- Topics: nlw-4, nodejs, nps-api, rocketseat, rocketseat-nlw
- Language: TypeScript
- Homepage:
- Size: 150 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Net Promoter Score API
A basic NPS api with NodeJS, Typescript and Typeorm.
## Endpoints
`UsersController`
- `POST` http://localhost:3333/users
`SurveysController`
- `GET` http://localhost:3333/surveys
- `POST` http://localhost:3333/surveys
`SurveyAnswersController`
- `POST` http://localhost:3333/survey_answers
- `GET` http://localhost:3333/survey_answers/:id/answer/:value
`NpsController`
- `GET` http://localhost:3333/nps/:survey_id
## Docs and Resources
App:
- https://nodejs.org/dist/latest-v14.x/docs/api/
- https://expressjs.com/en/4x/api.html
- https://support.insomnia.rest/
- https://github.com/uuidjs/uuid
- https://github.com/motdotla/dotenv
- https://github.com/jquense/yup
Typescript:
- https://www.typescriptlang.org/docs/
- https://github.com/wclr/ts-node-dev
Database and ORM:
- https://github.com/mapbox/node-sqlite3
- https://typeorm.io/#/
- https://www.beekeeperstudio.io/
Tests:
- https://jestjs.io/docs/en/getting-started
- https://github.com/visionmedia/supertest
Mailer:
- https://nodemailer.com/about/
- https://etherealjs.org/
- https://handlebarsjs.com/guide/