Rototu / storefront

Full-stack online shop demo written in Go and Elm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Full-stack online shop demo written in Go and Elm

License:MIT License


Languages

Language:Elm 69.9%Language:Go 23.3%Language:Shell 6.8%