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

Full-stack online shop demo written in Go and Elm

License

Notifications You must be signed in to change notification settings

Rototu/storefront

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks