This is a simple online shop demo. The back-end is written in GO connected to a MongoDB database. The front-end in written in Elm.
Here are the preliminary steps for the project:
-
Install go, Node.js and elm.
-
Run
npm install uglify-js -g npm install serve -g
to install uglify-js and serve globally.
-
Make sure to have a terminal application that can handle
.sh
files installed (e.g. Git Bash for Windows). -
Set up .env files in the frontend and backend folders based on the initenv files in there.
To build run
./build.sh
in the terminal.
To start the server and serve the front end run
./serverstart-and-serve.sh
in the terminal. Then access http://localhost:5000/
to view served page.