Simple Node Express Api | Backend Basics

Veröffentlicht am: 08 August 2021
auf dem Kanal: Red Eye Media
127
10

Let's learn the basics of backend with Node Express.
Here we will create a GET and a POST endpoint for getting a list of customers and creating new customers.
This is probably one of the simplest APIs you can make.
To query our data we will use Postman.

This tutorial is mainly focused on the fundamentals of making a api and backend fundamentals.
In addition this is a great intro to MERN stack projects, bacause a lot of MERN stack apps start out like this.

Timecodes
0:00​ - Intro
0:35 - creating our files
1:25 - installing dependencies
03:00 - creating our data
05:00 - GET route
07:30 - using Postman for GET
08:50 - POST route
10:30 - Postman POST

Complete code on Github:
https://github.com/Polkagris/node_exp...

How to get the code without using the terminal:
1. Go to the Github link
2. Click on the green Code-button
3. Click Download ZIP
4. Extract and open the folder in your preferred code editor (I'm using visual studio code, download link below)
5. To see the game in action, just open the index.html file in you browser

Read my blog on Dev.to - https://dev.to/redeyemedia


Auf dieser Seite können Sie das Online-Video Simple Node Express Api | Backend Basics mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Red Eye Media 08 August 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 127 Mal angesehen und es wurde von 10 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!