Giter Site home page Giter Site logo

mysql-ern-crud's Introduction

CRUD Application with MySQL, React, Node.js, and Express

This is a simple CRUD (Create, Read, Update, Delete) application that manages student names and email IDs. The application is built using MySQL for the database, React for the frontend, and Node.js with Express for the backend. XAMPP is used to provide a local development environment.

Prerequisites

Before you begin, make sure you have the following installed on your machine:

Installation

  1. Clone the Repository:

    git clone https://github.com/Webdevava/MySQL-ERN-CRUD.git
  2. Install Backend Dependencies:

    cd backend
    npm install
  3. Create MySQL Database:

    • Open XAMPP and start the MySQL server.
    • Create a new database named crud.
    • Import the database.sql file into the crud database to set up the required table.
  4. Configure Database Connection:

    • Update the database connection configuration in backend/index.js.
  5. Install Frontend Dependencies:

    cd ../frontend
    npm install
  6. Start the Application:

    • Start the Node.js server:

      cd ../backend
      node index.js
    • Start the React app:

      cd ../frontend
      npm run dev

    The Frontend should now be accessible at http://localhost:5173. The Backend should now be accessible at http://localhost:8000.

Usage

  • Visit http://localhost:3000 in your browser to interact with the CRUD application.
  • You can perform CRUD operations on student names and email IDs.

Folder Structure

  • backend: Contains the Node.js server files.
  • frontend: Contains the React frontend files.

Technologies Used

  • Frontend:

    • React
  • Backend:

    • Node.js
    • Express
    • MySQL(XAMPP)

Contributing

Feel free to contribute to this project.

Authors

  • Webdevava

mysql-ern-crud's People

Contributors

webdevava avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.