Skip to content

chepkuruiprudence/db_Week5Connect

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

db_Week5Connect

The aim of this project is to introduce you to the connection of MySQL database to NodeJs

Procedure

  • Install Node JS >>> https://nodejs.org/en/ Step by step Video >>> https://youtu.be/NqANV4wXhx4?feature=shared
  • Fork the project
  • Clone the project on your local computer
  • Open the file in VS Code
  • Run the following command to initalize the backend
    npm init -y
  • Run the following command to install the necessary dependancies
    npm install express mysql2 nodemon cors dotenv ejs
  • Open .env file and add your workbench password (Save all changes)
  • Run this command node server.js
  • Search this on your browser http://localhost:3300/data

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.3%
  • EJS 16.7%