Cyb-0rg / CRUD-Vite_ReactNodeExpressMySQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CRUD-ReactNodeMySQL

Create-Read-Update-Delete

This project is made of two main sides. CLIENT and SERVER. Its dataBase is based on MySQL server.

mySQL server is needed to be set up before running:

Config database

goto server/index.js then edit with yours

    var db = mysql.createConnection({
        host: 'localhost',
        user: 'root',
        password: 'password',
        database: 'employeeSystem'
    });
    

also name , password and all neccessary details are found in the server/index.js

To start run:

  1. `cd client`   
  2. `npm install`
  3. `npm run dev`

similarly:

  1. `cd server`   
  2. `npm install`
  3. `nodemon index`

client@0.0.0 dev

vite

VITE v3.0.5 ready in 2506 ms

➜ Local: http://localhost:5173/

➜ Network: use --host to expose

The form

image

The list

image

mySQL workbench

image

#� �r�e�a�c�t�-�f�o�r�m�i�k�-�v�a�l�i�d�a�t�o�r���#� �r�e�a�c�t�-�f�o�r�m�i�k�-�v�a�l�i�d�a�t�o�r���

About


Languages

Language:JavaScript 65.3%Language:CSS 22.1%Language:HTML 12.6%