This repository contains the frontend component of the strangelove.nl website. We've opted for a split front/backend architecture to separate concerns. This allowed us to work on the website simultaneously without getting in each other's way.
The frontend consists of a small node server, written with express, that does API calls to the backend to retrieve its data, along with all the css and javascript goodness, of course.
The javascript is written in CommonJS format and then compiled using
wrapup. The css is written in scss
format and then compiled using
node-sass. Additionally, we're using normalize.css and
bourbon to aid us.
To run this website you'll need to meet the following requirements:
- Node.js
grunt-cli
- runnpm install -g grunt-cli
on the command line
And then do this:
$ git clone https://github.com/strangelove/strangelove.nl.git
$ cd strangelove.nl
$ npm install
$ grunt
You can also choose to just use nodemon
or node app.js
, but grunt
will
also handle watching and compiling scss and js files.