Set up a modern web, mobile and desktop app by running one command.
⭐ star the repo ⭐
If you find this code useful, don't forget toThe MERN App provides a versatile set of boilerplates that streamline the development process for various applications. Whether you're building a web app, mobile app, desktop app, Chrome extension, or an NPM package in JavaScript, our comprehensive templates will help you get started quickly and efficiently. Create MERN App
Node Version
Version | Supported |
---|---|
node-version >= 18 | ✅ |
node-version < 18 | ❌ |
Install create-mernjs-app globally
npm install create-mernjs-app -g
Creating an App
create-mernjs-app my-app
Creating a Library
create-mernjs-app my-library --template library
Key Features
-
Effortless Initialization: Quickly start your MERN project with a straightforward command-line interface that automates the setup process.
-
Secure Coding Practices: Adopt industry standards for resilient code. Regular reviews and best practices minimize vulnerabilities and exploits in development.
-
Well-Defined Folder Structure: Benefit from a clean and organized project structure that promotes maintainability and scalability.
-
Server & Client Code Separation: Easily manage server-side and client-side code in separate sections, ensuring modularity and ease of development.
-
Authentication Ready: Implement secure login/signup features effortlessly, following best practices to safeguard user data.
-
Automatic Indentation: Ensure consistent code formatting with automatic indentation tools, improving code readability.
-
ESLint Integration: Enhance code quality by incorporating ESLint, which identifies and helps rectify potential issues according to established coding standards.
-
Prettier Support: Utilize Prettier for automatic code formatting, maintaining a cohesive and visually appealing codebase.
-
Tailwind CSS for Styling: Harness the power of Tailwind CSS to expedite the styling process, creating responsive and visually pleasing user interfaces.
-
Data Encryption: Utilize encryption for secure data transmission and storage, safeguarding against unauthorized access and ensuring data integrity.
-
Input Validation: Apply stringent input validation to prevent injection attacks and ensure safe user input.
-
CORS: Configure Cross-Origin Resource Sharing policies to control domain access, preventing unauthorized cross-origin requests.
-
Rate Limiting: Enforce API rate limits to prevent abuse, mitigating the risk of denial-of-service attacks.
-
Error Handling: Develop secure error-handling mechanisms for developers and users, avoiding sensitive information exposure.
-
Middleware Security: Strengthen middleware components against common threats, ensuring secure core functionalities and preventing vulnerabilities.
-
Dependency Scanning: Regularly scan and update dependencies to patch known vulnerabilities, reducing the risk of exploits.
-
Secure File Uploads: Implement secure file upload mechanisms, including type and size validation for enhanced application security.
-
Environment Configuration: Securely manage environment configurations, protecting sensitive data like API keys and credentials.
-
Security Headers: Set HTTP security headers to enhance browser security, guarding against common web vulnerabilities.
-
API Versioning: Implement API versioning for backward compatibility and smooth transitions during updates.
-
Monitoring: Establish robust monitoring for prompt detection and response to security incidents, ensuring continuous application integrity.
App Boilerplates
App boilerplates for building application.
Library Boilerplates
Library boilerplates for building npm package.
SN. | Boilerplates | Download |
---|---|---|
1 | JavaScript Library Boilerplate | |
2 | ReactJS Library Boilerplate | |
3 | NodeJS Library Boilerplate | |
4 | ExpressJS Library Boilerplate | |
5 | NextJS Library Boilerplate | |
6 | React Native Library Boilerplate |
Support
Please message us, If you have any query, suggestions or security concerns via GitHub
©2023 Create MERN App By: Vijay Pratap Singh