You can view a live demo here:
-
Clone this repo and cd into the directory using terminal
-
Install dependencies using NPM
npm install
To run development mode run the following command inside the directory.
npm run start-dev
You can access the local server with the following url
http://localhost:3002
It will automatically run the following processess concurrently
- gulp start-dev task
- webpack with development configurations
- express application with nodemon
Build production command will generate production ready assets and node js server code.
The productions assets are located in the dist/assets folder and the server code is located in the dist/server folder.
npm run build-production
Run this command and commit changes before pushing to heroku.
You will need the latest version of docker installed
For faster development you can use docker by running the following command:
docker-compose up
After which the server is located at the local address below:
http://localhost:3002
Run the following command
docker-compose run --rm app npm run build-production