/nlwValoriza

Project created on the Next Level Week #6, an event at Rocketseat.

Primary LanguageTypeScript


Node.Js
Nlw Valoriza!

A project built with RocketSeat.

npm version yarn node

How To Use

To clone and run this application, you'll need Git, Node.js (which comes with npm) and Yarn installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/MatheusMoselli/nlwValoriza

# Go into the repository
$ cd nlwValoriza

# Install dependencies
$ npm install

# Run the app
$ npm start

What I've learned

Tools 🔧

Node is a back-end javascript framework. It's async (can recieve many request at once, it's not necessary to wait one request to end to start another). It uses Single Threaded Event Loop Model architecture.

API is the back-end of an application. It have to be separated to the front-end. The principal part of using an API is the possibility of using the same API to any front-end.

TypeScript is a typed javascript, only using on develpment ambient to help the programmers. With TypeScript you can say wath is the type of any variabel (string, number, etc).

Express is a javascript framework usually used to create routes to the project

Request & Response 🌐

Request is everything that the API recieves.

Response is everything that the API send.

Http Methods 📎

There is 5 principal methods:

  • Get: Get the information from the database
  • Post: Insert new information on the database
  • Put: Change existent information from the database
  • Delete: Delete information from the database
  • Patch: Change especific information from the database

Notion 📝

For more anotations, check my Notion

Credits

This software uses the following open source packages: