Skip to content
/ create-mern-app Public template

Create MERN App provides a simple file and folder structure that you can easily customize to fit your project requirements.

License

Notifications You must be signed in to change notification settings

mernjs/create-mern-app

Repository files navigation

mit license npm version npm downloads Follow Watch Fork Star

Logo

Set up a modern web, mobile and desktop app by running one command.
If you find this code useful, don't forget to ⭐ star the repo ⭐

Under Beta Development

Create MERN App

Create MERN App provides a simple file and folder structure that you can easily customize to fit your project requirements.

Node Version

Version Supported
node-version >= 18
node-version < 18

Download Methods

You can download code in two ways:

  1. Using CLI
  2. Directly Download Zip Code

1. Using CLI

Create a New App

npx create-mernjs-app my-app

Create a Library, Packages, or Snippets

  • Pre-configured Library Creation Template:

    npx create-mernjs-app my-library --template library
  • Pre-built NPM Packages:

    npx create-mernjs-app my-package --template packages
  • Reusable Code Snippets:

    npx create-mernjs-app my-snippets --template snippets

2. Directly Download Zip Code

App Boilerplates

App boilerplates provide ready-to-use templates for building applications, simplifying the setup process and ensuring a consistent structure across projects.

SN. Boilerplates Download
1 NodeJS & MongoDB Download NodeJS MongoDB
2 NodeJS & MySQL Download NodeJS MySQL
3 NextJS Download NextJS
4 GatsbyJS Download GatsbyJS
5 ReactJS Download ReactJS
6 ElectronJS Download ElectronJS
7 ReactJS Chrome Extension Download ReactJS Chrome Extension
8 ReactJS Webpack Download ReactJS Webpack
9 FastifyJS & MySQL Download FastifyJS MySQL
10 FastifyJS & MongoDB Download FastifyJS MongoDB
11 T3JS Download T3JS
12 React Native Expo Download React Native Expo

Library Boilerplates

Library boilerplates offer pre-configured templates for creating npm packages, enabling efficient and standardized development of reusable code libraries.

SN. Boilerplates Download
1 JavaScript Library Download JavaScript Library
2 ReactJS Library Download ReactJS Library
3 NodeJS Library Download NodeJS Library
4 ExpressJS Library Download ExpressJS Library
5 NextJS Library Download NextJS Library
6 React Native Library Download React Native Library

NPM Packages

Explore npm packages that simplify your development workflow. These packages offer efficient solutions for various technologies and are easy to install and integrate, enhancing productivity and code quality.

SN. Package NPM Download
1 xml-to-mongodb-importer npm version xml-to-mongodb-importer
2 react-svg-icons-loader npm version react-svg-icons-loader

Code Snippets

Explore a collection of reusable code snippets to quickly implement common features and functionalities in your projects.

SN. Snippets Download
1 Express Rate Limit Express Rate Limit
2 NodeJS JWT NodeJS JWT
3 NodeJS Encryption Decryption NodeJS Encryption Decryption

Key Features

Effortlessly build secure and scalable MERN applications with automated setup, industry-standard coding practices, secure authentication, robust data handling, and proactive security measures.

  1. Effortless Initialization: Start your MERN project quickly using a simple command-line interface that sets up everything automatically.

  2. Secure Coding Practices: Follow industry standards to write strong, resilient code. Regular reviews and best practices reduce vulnerabilities during development.

  3. Well-Defined Folder Structure: Use a clean and organized project layout that makes it easy to maintain and expand your application.

  4. Server & Client Code Separation: Keep server-side and client-side code separate for easier management and development.

  5. Authentication Ready: Easily add secure login/signup features using best practices to protect user data.

  6. Automatic Indentation: Automatically format code for consistency, making it easier to read and understand.

  7. ESLint Integration: Improve code quality by using ESLint to find and fix potential issues based on coding standards.

  8. Prettier Support: Use Prettier to automatically format your code, keeping it neat and visually appealing.

  9. Tailwind CSS for Styling: Speed up styling with Tailwind CSS, creating responsive and attractive user interfaces.

  10. Data Encryption: Encrypt data to secure it during storage and transmission, protecting against unauthorized access.

  11. Input Validation: Validate user inputs rigorously to prevent attacks and ensure safe usage.

  12. CORS: Control which domains can access your application to prevent unauthorized requests.

  13. Rate Limiting: Limit API usage to prevent abuse and protect against denial-of-service attacks.

  14. Error Handling: Implement effective error-handling mechanisms to keep sensitive information secure.

  15. Middleware Security: Secure middleware components to protect core functionalities from common threats.

  16. Dependency Scanning: Regularly check and update dependencies to fix known vulnerabilities and enhance security.

  17. Secure File Uploads: Safely upload files with validation to ensure they are safe for your application.

  18. Environment Configuration: Manage environment settings securely to protect sensitive data like API keys.

  19. Security Headers: Set HTTP security headers to make your web application more secure against common vulnerabilities.

  20. API Versioning: Implement versioning for your APIs to support smooth updates and compatibility.

  21. Monitoring: Set up robust monitoring to quickly detect and respond to security incidents, ensuring your application stays secure and reliable.

Support

Please message us, If you have any query, suggestions or security concerns via GitHub

©2023 Create MERN App    By: Vijay Pratap Singh