mushfiqurniazzz / Mysql-CRUD-Operations-With-Nodejs-And-Reactjs

This app allows users to save users with name and email with specific id for everyone, featuring functionalities like create, read, update, delete. It uses MySQL as the database to store users, Express.js for handling server-side logic, React.js for building the user interface, and Node.js for server-side runtime environment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MySQL CRUD - Nodejs, Reactjs

CRUDVideo.mp4

This app allows users to save users with name and email with specific id for everyone, featuring functionalities like create, read, update, delete. It uses MySQL as the database to store users, Express.js for handling server-side logic, React.js for building the user interface, and Node.js for server-side runtime environment. The app provides a seamless experience for users to save users and time.

Running the Project Locally

To run this project on your local machine, follow these steps:

  1. Clone the Repository: Clone this repository to your local machine:

    git clone <repository_url>

  2. Navigate to Project Directory: Move into the project directory:

    cd <project_directory>

  3. Install Dependencies: Install the necessary dependencies using npm or yarn:

    npm install

    or

    yarn

  4. Setup Environment Variables: Create a .env file in the root of your project directory and add the variables given in .env.sample

  5. Start the Development Server: Run the following command to start the development server:

    npm start

  6. Access the App: Open your web browser and navigate to http://localhost:3000 for frontend http://localhost:5000 to access the app. You can now use the app locally on your machine, connected to your MySQL database using the variables specified in the .env file.

  7. Note: The project may not work if you do not install dependencies in both front end and backend. So you would have to apply step 2 and 3 twice, once in frontend and once in backend.

About

This app allows users to save users with name and email with specific id for everyone, featuring functionalities like create, read, update, delete. It uses MySQL as the database to store users, Express.js for handling server-side logic, React.js for building the user interface, and Node.js for server-side runtime environment.


Languages

Language:JavaScript 95.2%Language:HTML 4.4%Language:CSS 0.5%