Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Latest commit

 

History

History
41 lines (26 loc) · 935 Bytes

readme.md

File metadata and controls

41 lines (26 loc) · 935 Bytes

Full Stack Online Shop in Go & Elm

Work in Progress!

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.

Setup instructions

Here are the preliminary steps for the project:

  1. Install go, Node.js and elm.

  2. Run

    npm install uglify-js -g
    npm install serve -g

    to install uglify-js and serve globally.

  3. Make sure to have a terminal application that can handle .sh files installed (e.g. Git Bash for Windows).

  4. Set up .env files in the frontend and backend folders based on the initenv files in there.

Building instructions

To build run

./build.sh

in the terminal.

How to run

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.