Build a Node.js Express CRUD REST API Using PostgreSQL Database in Browser Using Javascript

preview_player
Показать описание
Buy the full source code of application here:

Visit my Online Free Media Tool Website

Buy Premium Scripts and Apps Here:

Welcome Folks My name is Gautam and Welcome to Coding Shiksha a Place for All Programmers. You can learn Web Development and Programming Tutorials.

Donate to Our Youtube Channel at :

Watch next –

[Popular Videos on the Channel]

[Login with Google Account using Javascript]

[What is AJAX and How it Works | Short Tutorial for Beginners]

[Javascript Fetch Api Example]

[jsPDF Tutorial | PDF Library in Javascript]

[Youtube Data API V3 App in 1 Hour]

[AngularJS CRUD Application]

[Uploading Files using Google Drive Api]

Recommended Playlist –

[Build a CRUD Applicaiton in VUE and Firebase]

[MongoDB Tutorial for Absolute Beginners]

[Building a Playlist Search App using Youtube Data Api v3]

[Secure Login System in PHP & MYSQL]

Рекомендации по теме
Комментарии
Автор

To fix the createUser 26:10 issue remove the line and add this line "app.use(express.json());" and it should work fine. It worked for me .

ashishvshenoy
Автор

1

I found the answer.

The issue was with the order of body-parser; The order must be as follows with bodyParser on the very top.

const bodyParser = require('body-parser');
const express = require("express");
app.use(bodyParser.json());

false}));

MeetingAvoider
Автор

i have fix the create user name error. the problem was request method was getting blank body.. for solving this problem we need to use on function method and parse the data into json formate.
ex:

req.on('data', function(data){
body += data;
body = JSON.parse(body)
});

shahriarhaque