Skip to content

MERN CRUD and Authentication Project. This project demonstrates basic CRUD operations along with user authentication using the MERN stack (MongoDB, Express.js, React.js, Node.js).

Notifications You must be signed in to change notification settings

yasirupanduka99/MERN_CRUD_Session_Y2S2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

MERN CRUD and Authentication Project

This project demonstrates basic CRUD operations along with user authentication using the MERN stack (MongoDB, Express.js, React.js, Node.js).

Project Structure

The project repository is organized into two main folders:

  • backend: Contains the backend server code developed using Node.js and Express.js.
  • frontend: Contains the frontend client code developed using React.js.

Local Setup

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

Prerequisites

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

  • Node.js: You can download and install Node.js from nodejs.org.
  • MongoDB: You can download and install MongoDB from mongodb.com.

Installation

  1. Clone the repository:

    git clone https://github.com/yasirupanduka99/MERN_CRUD_Session_Y2S2.git
  2. Navigate to the project directory:

    cd MERN_CRUD_Session_Y2S2
  3. Backend Setup:

    cd backend
    • Create a .env file in the backend directory and add the following variables:

      PORT=5000
      MONGO_URL=<your_mongo_db_connection_string>
      SECRET_TOKEN=<your_secret_token>
      
    • Install dependencies:

      npm install
    • Start the backend server:

      npm start
  4. Frontend Setup:

    cd ../frontend
    • Install dependencies:

      npm install
    • Start the frontend development server:

      npm start
  5. Access the application:

    Once the backend and frontend servers are running, you can access the application in your web browser at http://localhost:3000.

Contributing

If you'd like to contribute to this project, feel free to fork the repository, make your changes, and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

MERN CRUD and Authentication Project. This project demonstrates basic CRUD operations along with user authentication using the MERN stack (MongoDB, Express.js, React.js, Node.js).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published