Skip to content

Jagdish-Padhi/StationSense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 MERN Full Stack Template

Node.js React Express MongoDB License

A production-ready starter template for building full-stack web applications using the MERN stack (MongoDB, Express, React, Node.js). Designed for speed, scalability, and modularity.


📁 Project Structure

MERN_full_stack/
├── README.md
├── Backend/
│   ├── app.js
│   ├── index.js
│   ├── package.json
│   └── src/
│       ├── controllers/
│       │   └── auth.controller.js
│       ├── middlewares/
│       │   └── addHere.js
│       ├── models/
│       │   └── user.model.js
│       ├── routes/
│       │   ├── auth.route.js
│       │   └── user.route.js
│       ├── services/
│       │   └── auth.service.js
│       └── utils/
│           └── addhere.js
├── Frontend/
│   ├── eslint.config.js
│   ├── index.html
│   ├── package.json
│   ├── vite.config.js
│   └── public/
│       └── src/
│           ├── App.jsx
│           ├── index.css
│           ├── main.jsx
│           ├── assets/
│           ├── components/
│           │   └── addHere.js
│           │   └── common/
│           │       ├── Button.jsx
│           │       └── Modal.jsx
│           ├── context/
│           │   └── authContext.jsx
│           ├── hooks/
│           │   ├── useAuth.js
│           │   └── useDebounce.js
│           ├── layouts/
│           ├── pages/
│           │   ├── Home.jsx
│           │   └── Login.jsx
│           ├── services/
│           │   ├── api.js
│           │   ├── auth.service.js
│           │   └── user.service.js
│           ├── styles/
│           │   └── global.css
│           └── utils/
│               ├── constants.js
│               └── helpers.js

⚡ Features

  • 🔐 Full-Stack Authentication Ready: Structure prepared for JWT/Session authentication.
  • 🏗️ MVC Architecture: Backend organized into Models, Views (Routes), and Controllers for better separation of concerns.
  • 🌐 RESTful API: Standardized API endpoints structure for easy integration.
  • ⚛️ React Hooks: Utilizes modern functional components and hooks for state management.
  • 🌍 Environment Management: Centralized configuration via .env for easy environment setup.
  • 🔗 CORS Configured: Seamless communication between frontend and backend.

🚀 Getting Started

📋 Prerequisites

  • Node.js (v14 or higher)
  • MongoDB Atlas account (for database)

📦 Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/MERN_full_stack.git
    cd MERN_full_stack
  2. Install backend dependencies:
    cd Backend
    npm install
  3. Install frontend dependencies:
    cd ../Frontend
    npm install

🏃‍♂️ Running the Application

  1. Start the backend server:
    cd Backend
    npm start
  2. Start the frontend development server:
    cd Frontend
    npm run dev

🤝 Contributing

Contributions are welcome! Let me know if there is scope of improvement or if any issue then raise issue.

📜 License

This project is licensed under the MIT License. free to use by anyone and speed up your development journey!


📞 Contact

For any inquiries, please reach out to code369decode@gmail.com.

About

Sooner or later will sense you too!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors