This sites is build using MERN Stack
- First install dependencies for server Note:change working directory to project main folder
npm i
- Install the dependencies for the Client(reactjs)
npm run clientinstall
- Run both server and client using
npm run dev
-
First install dependencies for server Note:change working directory to project main folder
npm i
-
change working directory to client and Install the dependencies for the Client(reactjs)
cd ./client
npm i 3. Run both server and client using
cd ../
npm run dev
- First install dependencies for server Note:change working directory to project main folder
npm i
- Second use the npm script heroku-postbuild
npm run heroku-postbuild
- Run server
npm start
- First install dependencies for server Note:change working directory to project main folder
npm i
- Change directroy to client, Install dependencies for client(reactjs) and build the production
cd ./client
npm i
npm run build 3. Start the server cd ..
npm start
Go to /admin/login/ for admin login