- Add name to the DB
- Search name in the DB
- List of all the name in the DB
- Update any name the DB
- Delete any row in the DB
- NodeJS
- ExpressJS
- MySQL
- HTML
Server Setup and Installation:
-
$ cd server
-
$ npm init -y
-
$ npm install express
-
$ npm install mysql
-
$ npm i dotenv
-
$ npm i cors
-
$ npm install nodemon --save-dev
To run the server demon:
- $ npx nodemon
-
ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
Solution: ALTER USER 'web_app'@'localhost' IDENTIFIED WITH mysql_native_password BY 'test123';
- Nsquared Coding: https://youtu.be/vrj9AohVhPA
- https://github.com/npatel023/ExpressMySQL/tree/master/client


