Week2 : Database connection
Database connection
1. Let's start by creating an index.js then initializing your JavaScript project by running npm...
Example of Read
Let's write the endpoint that query user balance data from the database and response to the use...
Example of Create
1. Let's create an endpoint to create new user into the database, create create.js into directory...
Example of Update
Let's create an endpoint to update user balance into the database, create updateBalance.js into...
Example of Delete
Let's create an endpoint to delete user from the database, create deleteUser.js into directory ...
Assignment : Integration with frontend
1. Download the frontend from this link https://drive.google.com/file/d/1UuALet56_czOseatkx2-jCsg...