A culmination of functionality for all of WSBF Clemson!
clone the directory
git clone https://github.com/wsbf/amalgam.git
We are going to want to make sure we have all of our required modules installed.
cd amalgam
npm install
Assuming you have everything ready...
- Start the database (this runs mongod with test data)
- You should maybe run this in another terminal window (or use screen/tmux)
npm run database
- Run the thing
npm run start
Go to http://localhost:3000
to check out the result!
There has been a lot of work done to simplify this applications structure. The main idea is that we have the server separate from the view. I will give the ability to 'inject' the routes into the view in the near future.
Right now, the view is compiled into bundle.js
, which is consumed by
index.html
in the ./public/
folder. ./public/
is also where
static resources are (/resources/
).
Setup inspired originally by Typescript Node Starter, which was inspired by Sahat's Hackathon Starter project.