Cyb-0rg / test_axus-form

writing a data to MySQL server from a react page

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test_axus-form (vitejs edition)

writing a data to MySQL server from a react page

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-react/bin/db.js then edit with yours

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

To start run:

1. cd client

2. npm install

3. npm run dev

similarly:

1. cd server

2. npm install

3. nodemon index

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify #� �r�e�a�c�t�-�f�o�r�m�i�k�-�v�a�l�i�d�a�t�o�r���

About

writing a data to MySQL server from a react page


Languages

Language:JavaScript 78.3%Language:CSS 13.2%Language:HTML 8.5%