Skip to content

CRUD MySQL Project from scratch(using Node.js and React). Create, Read, Update and Delete data using a MySQL database.

Notifications You must be signed in to change notification settings

PetarMirchev/React-Node.js-MySQL-CRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

React-Node.js-MySQL-CRUD

CRUD MySQL Project from scratch(using Node.js and React). Create, Read, Update and Delete data using a MySQL database.

//https://dev.mysql.com/

gitMySQL-2

//mysql workbench community download

gitMySQL-1

connect to DB server: gitMySQL-3

gitMySQL-4

create new Schema, with R click mоuse: gitMySQL-5

creating a new table: gitMySQL-6

//if there is a auth problem in --> app.get("/books",....)

// Execute the following query in MYSQL Workbench:

//ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root(password)'; <-----

//Where root as your user localhost as your URL and password as your password

//Then run this query to refresh privileges:

//flush privileges; <----

//Try connecting using node after you do so.

//If that doesn't work, try it without @'localhost' part.

BACKEND packages:

//npm init -y

//npm i express

//npm i mysql

//npm i nodemon

//npm i cors

Postman test : json post //middleware -- allow us to send JSON (from POSTMAN for example) data to EXPRESS server: ---> app.use(express.json());

FrontEnd/Client packages:

//npx create-react-app .

//npm i react-router-dom

//npm i axios

gitFront-1 gitFront-2 gitFront-3 gitFront-4

About

CRUD MySQL Project from scratch(using Node.js and React). Create, Read, Update and Delete data using a MySQL database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published