A simple and light repository to start coding for MERN stack in JavaScript or TypeScript
Before running the project, you should install the node modules using the following command:
npm install
To run the whole project including back-end and front-end, you can use the following command:
npm start
To only run the front-end side of project, you can use the following commands:
For development environment:
npm run front-dev
For build without watch:
npm run front-build
For build with watch:
npm run front-build-watch
There is 2 default environment variables that you can see in .en.example
file. To use these variables or any other custom ones, you should create a file called .env
in the root of repository.