Skip to content

Bhavika42/MERN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN Practice Repository

This repository serves as a practice ground for building and understanding full-stack applications using the MERN (MongoDB, Express.js, React.js, Node.js) stack. It encompasses various components and modules that demonstrate the integration and functionality of each technology within the stack.

🛠️ Technologies Used

  • MongoDB: NoSQL database for storing application data.
  • Express.js: Web framework for Node.js to build backend APIs.
  • React.js: Frontend library for building user interfaces.
  • Node.js: JavaScript runtime environment for executing server-side code.

📁 Project Structure

mern/ ├── backend/ │ ├── controllers/ │ ├── models/ │ ├── routes/ │ └── server.js ├── frontend/ │ ├── public/ │ ├── src/ │ │ ├── components/ │ │ ├── pages/ │ │ └── App.js ├── .env ├── package.json └── README.md

  • backend/: Contains the server-side code including API routes, controllers, and database models.
  • frontend/: Contains the client-side code built with React.js.
  • .env: Environment variables for configuration (e.g., database URI, API keys).

🚀 Getting Started

Prerequisites

Ensure you have the following installed on your machine:

Installation

  1. Clone the repository:

    git clone https://github.com/Bhavika42/MERN.git
    cd MERN
  2. Set up environment variables:

Create a .env file in the root directory and add the following: MONGO_URI=your_mongodb_connection_string PORT=5000

3.Install backend dependencies: cd backend npm install

  1. Install frontend dependencies: cd ../frontend npm install

🧪 Running the Application Start the Backend Server cd backend npm start

The backend server will start on http://localhost:5000.

Start the Frontend Development Server cd frontend npm start

The frontend application will start on http://localhost:3000.

📦 Features User authentication and authorization

CRUD operations for various resources

Responsive UI with React.js components

RESTful API integration between frontend and backend

🖼️ Screenshots Include relevant screenshots of your application here.

🧑‍💻 Author Bhavika Sehgal GitHub | LinkedIn

📄 License This project is licensed under the MIT License.

This README is structured to provide a clear and concise overview of the project, facilitating better understanding and engagement for users and potential collaborators.


Feel free to customize the sections further based on the specific features and components present in your repository. If you need assistance with any particular part or further enhancements, feel free to ask!

About

practice

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors