Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mern-x

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mern-x

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 c

  • 2.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
86
increased by1333.33%
Maintainers
1
Weekly downloads
 
Created
Source

Installation:

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

npx mern-x@latest

How to run project

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

How create Model

npm run create:model YourModelName

How create Controller

npm run create:controller YourControllerName

How create Middleware

npm run create:middleware YourMiddlewareName

How create Page

npm run create:page YourPageName

How create Component

npm run create:component YourComponentName

How create Loader

npm run create:loader YourLoaderName

How create Layout

npm 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.

Keywords

FAQs

Package last updated on 25 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc