Full stack boilerplate with React, Redux, Express, Mongoose, Passport Local, JWT, Facebook and Google OAuth out of the box.
The MERN Boilerplate is a full stack boilerplate that includes React, Redux, Express, Mongoose, and Passport. It aims to streamline the development process by providing a pre-configured setup for building apps with these technologies. With features like user models with 1:N relation, CRUD REST API operations, authentication with local email/password, Facebook and Google OAuth, and JWT protected APIs, the MERN Boilerplate offers a comprehensive solution for developing web applications. It also includes features like database seed, image upload, layout components, and protected routes. The MERN Boilerplate is easy to install and comes with instructions for both development and production deployment.
To set up the MERN Boilerplate for development, follow these steps:
.env.example
to .env
and fill in the necessary information, such as database connection strings, Google and Facebook tokens, JWT secret, and client and server production URLs./server/security
folder and running the provided command.https://localhost:5000
.https://localhost:3000
.For production deployment, refer to the Deployment on Heroku section for detailed instructions.
The MERN Boilerplate is a powerful solution for developers who want to quickly jumpstart their full stack MERN projects. With its preconfigured setup and extensive list of features, including authentication, CRUD operations, image upload, and protected routes, developers can save time and effort in the initial stages of development. The MERN Boilerplate also provides clear installation instructions for both development and production deployment, making it accessible to developers of all levels of experience. Overall, the MERN Boilerplate is a versatile tool that can greatly simplify the development process for MERN stack applications.