An MERN stack boilerplate code.
Clone the project and in the root directory run
npm i
touch .env
These are the environment variables. Set them according to your preference
NODE_ENV
SERVER_PORT
CLIENT_PORT
DB_CONNECTION_URL
AUTH_SECRET
MAILER_HOST
MAILER_PORT
APP_SUPPORT_EMAIL
SUPPORT_EMAIL_PASSWORD
APP_URL
APP_NAME
REDIS_HOST
REDIS_PORT
Now the project can be started by running
npm start
For better experience install ESLint and EditorConfig for VS Code