• Stars
    star
    107
  • Rank 313,469 (Top 7 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created 4 months ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

MERN-X is a comprehensive full-stack framework designed to streamline the development of web applications using the popular MERN stack: MongoDB, Express.js, React, and Node.js. Built with simplicity and scalability in mind, MERN-X empowers developers to create robust and efficient applications from end to end

Installation:

To create a new project using MERN-X, simply run the following command:

npx mern-x@latest
// For yarn 
yarn exec mern-x

How to run project

npx run mern   // Project Back End Will Run @3000
npx run dev    // Complete Project Will Run @3001

// For yarn 
yarn run mern
yarn run dev

How create Model

npm run create:model YourModelName
// For yarn 
yarn run create:model YourModelName

How create Controller

npm run create:controller YourControllerName
// For yarn 
yarn run create:controller YourControllerName

How create Middleware

npm run create:middleware YourMiddlewareName
// For yarn 
yarn run create:middleware YourMiddlewareName

How create Page

npm run create:page YourPageName
// For yarn 
yarn run create:page YourPageName

How create Component

npm run create:component YourComponentName
// For yarn 
yarn run create:component YourComponentName

How create Loader

npm run create:loader YourLoaderName
// For yarn 
yarn run create:loader YourLoaderName

How create Layout

npm run create:layout YourLayoutName
// For yarn
yarn run create:layout YourLayoutName

Project Structure

mern-x/
│
├── app/                                      
│   ├── config/                                 
│   │   ├── cli.js
│   │   ├── config.js
│   │
│   ├── controllers
│   │   ├── todoController.js
│   │
│   ├── middlewares
│   │   ├── authMiddleware.js
│   │
│   ├── models
│   │   ├── todosModel.js
│   │
│   ├── storage/
│   │
│   ├── utility/
│   │   ├── emailUtility.js
│   │   ├── tokenUtility.js
│   │   ├── validationUtility.js
│   │
│   ├── dist/
│   │
│   ├── node_modules/
│   │
│   ├── public/
│   │
│   ├── routes/
│   │   ├── api.js
│   │   ├── web.jsx
│   │
│   ├── views/
│   │   ├── assets/
│   │   │   ├── css/
│   │   │   │    ├── style.js
│   │     
│   │   ├── components/
│   │   │   ├── CreateForm.jsx
│   │   │   ├── List.jsx 
│   │   
│   │   ├── layout/
│   │   │   ├── AppLayout.jsx
│   │   │
│   │   
│   │   ├── loader/
│   │   │   ├── ListLoader.jsx
│   │   │ 
│   │   ├── pages/
│   │   │   ├── CreatePage.jsx
│   │   │   ├── ListPage.jsx 
│   │     
│   │   ├── main.jsx  
│   │
│   │
│   ├── .gitattributes
│   ├── .gitignore
│   ├── app.js
│   ├── index.html
│   ├── LICENSE
│   ├── package.json
│   ├── package-lock.json
│   ├── postcss.config.js
│   ├── README.md
│   ├── tailwind.config.js
│   ├── vite.config.js
  • app: This directory contains the main application code.
    • config: Configuration files for the application.
    • controllers: Controllers for handling business logic.
    • Middleware functions for handling requests.
    • models: Database models.
    • storage: Directory for storing files (if applicable).
    • utility: Utility functions.
  • dist: Distribution files (compiled code).
  • node_modules: Node.js modules installed via npm.
  • public: Public assets.
  • routes: Route definitions.
  • views: React components and views.
    • assets: Static assets like CSS files.
    • components: Reusable React components.
    • layout: Layout components.
    • loader: Loading components.
    • pages: Individual pages/components.
  • .gitattributes: Git attributes file.
  • .gitignore: Git ignore file.
  • app.js: Entry point of the Node.js application.
  • index.html: Main HTML file.
  • LICENSE: License file.
  • package.json: Project metadata and dependencies.
  • package-lock.json: Dependency lock file.
  • postcss.config.js: PostCSS configuration file.
  • README.md: Project documentation. -tailwind.config.js: Tailwind CSS configuration file. -vite.config.js: Vite configuration file.

More Repositories

1

MERN-STACK-Series

JavaScript
55
star
2

Node.js-Tutorial-Bangla

Node.js Tutorial Bangla
JavaScript
49
star
3

Express-js-tutorial-bangla

Express-js-tutorial-bangla
JavaScript
43
star
4

Flutter-Batch

Dart
40
star
5

Next-File

Next-File is a lightweight npm package tailored for file management within Next.js applications. It simplifies the process of uploading files to your Next.js server and provides an easy-to-use interface for deleting files when they are no longer needed. With seamless integration into Next.js projects, this package offers robust functionality to han
32
star
6

React-Business-Table

React-Business-Table
JavaScript
31
star
7

MERN-Full-Stack-Web-Development

JavaScript
30
star
8

Laravel-Portfolio-website

Laravel Portfolio website
PHP
27
star
9

Laravel-Web-Development-Bangla-Tutorial

Laravel Web Development BanglaTutorial By Rabbil Hasan
PHP
18
star
10

Express-Rest-API-Development

JavaScript
18
star
11

Laravel-Batch

PHP
17
star
12

JavaScript-OOP-Tutorial-With-Example

JavaScript
16
star
13

express-fileforge

express-fileforge is a file upload utility for Express.js that simplifies file handling. It provides a convenient way to save files to the server and manage file storage paths. This package is designed to be easy to use and integrate seamlessly with your Express.js applications.
JavaScript
16
star
14

MERN-Inventory

JavaScript
11
star
15

MERN-Ecommerce

JavaScript
11
star
16

MERN3-Express-API-Project

JavaScript
10
star
17

Laravel-Axios-Multipul-File-Uploader

Features: File Uploading Progress By Percentage, Uploading Progress By MB Calculation, Axios Multipul Upload Request Simultaneously
PHP
10
star
18

Nextjs-Prisma-Batch

PHP
9
star
19

SSLCOMMERZ-Payment-Gateway-With-NEXT.JS-App-Router

SSLCOMMERZ Payment Gateway With NEXT.JS App Router
JavaScript
9
star
20

WebRTC-Tutorial-Series--Project-01

WebRTC Tutorial Series Project 01
JavaScript
7
star
21

React-Redux-CRUD-Example

JavaScript
6
star
22

Your-First-Laravel-Website-

Your First Laravel Website
PHP
6
star
23

Toast-Silicon

Toast Silicon is an android library for colorful and beautiful toast message. It is a custom android toast library support success, warning, danger, info, primary toast message. Moreover this library support multiline toast also
Java
6
star
24

Laravel-Rest-API-Bangla-Tutorial-

Laravel Rest API Bangla Tutorial Series Teach You A-Z of Laravel API Development. Now A Days API is The Main Media To Sharing Data Among Mobile App, Desktop App, Web App and Other's. Demand Of API Developer Increases Day By Day.
PHP
6
star
25

Laravel-Server-Requirements-Checking

Laravel Serverm Requirements Checking From Laravel 7x to other's
PHP
5
star
26

Bootstrap-5-Side-Navigation-Menu

Side Navigation Menu Using Bootstrap 5 & jQuery
HTML
5
star
27

React-Firebase-CURD

React Firebase Create Read Update Delete
HTML
4
star
28

Vue.js-Experts

CSS
4
star
29

Next-JS-Tutorial-Bangla

Next JS Tutorial Bangla
JavaScript
3
star
30

MERN-3-CURD

JavaScript
3
star
31

nextjs

3
star
32

WebRTC-Chat

PHP
3
star
33

WebRTC-Zoom-Chat

JavaScript
3
star
34

news-site

news-site
JavaScript
3
star
35

codesilicon-barbar

codecanyon-barbar
JavaScript
2
star
36

webrtc-team-meeting

JavaScript
2
star