@nithin-sivakumar/mernify
v1.0.8
Published
`@nithin-sivakumar/mernify` is a command-line tool that helps you quickly set up a MERN stack project with the basic file structure for both backend and frontend, using templates that can be easily customized.
Readme
@nithin-sivakumar/mernify
@nithin-sivakumar/mernify is a command-line tool that helps you quickly set up a MERN stack project with the basic file structure for both backend and frontend, using templates that can be easily customized.
Changelog (v1.0.8)
- Added new package to implement logs in server
- Added new package to generate otps
- Fixed routing error for /register endpoint
- Added mailer.js under utils/ which now provides two functions config and sendMail to allow easy access to send emails right from your nodeJS server.
Features
- Project Structure: Automatically generates a clean and organized project structure for your MERN stack applications.
- Template Support: Choose from predefined templates to scaffold your project.
- Vite + React Setup: Set up a modern frontend using Vite with React and TailwindCSS, ready for development.
- Backend Structure: Set up a basic backend with Node.js, Express, and MongoDB.
- TailwindCSS Integration: Easily integrate TailwindCSS for quick and responsive styling.
Installation
To install @nithin-sivakumar/mernify, run the following command:
npx @nithin-sivakumar/mernifyYou can also install it globally:
npm install -g @nithin-sivakumar/mernifyUsage
To create a new MERN project, run the following command in your terminal:
npx @nithin-sivakumar/mernify -n my-mern-project -d /path/to/directory -t templateOptions:
-n, --name <name>: The name of your project.-d, --directory <directory>: The directory where the project will be created (default is the current directory).-t, --template <template>: The template to use for the project (default istemplate1).
Example
Create a new MERN stack project with the name my-app in the current directory:
npx @nithin-sivakumar/mernify -n my-appThis will create the project folder, set up the backend and frontend, and install dependencies.
Configuration
Once the project is created, you can customize the backend and frontend as needed by editing the respective files. The frontend is configured with Vite and React, and the backend is set up with Express and MongoDB.
Contact
Created by Nithin Sivakumar. For any queries, please feel free to reach out via email.
