Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 1.6 KB

README.md

File metadata and controls

36 lines (19 loc) · 1.6 KB

Hvað er í bíó?

About

Hvað er í bíó? is a web app that displays movie screenings in Icelandic cinemas. The app is focused on providing a good user experience, solving the problem of finding a movie to see in an efficient and intuitive manner. The data comes from the kvikmyndir.is api.

##Requirements:

  • NodeJS
  • [Optional] An login from kvikmyndir.is set as the KVIKMYNDIR_PASSWORD and KVIKMYNDIR_USERNAME environment variables. If it's not set and Node isn't running in a production environment, data from data/demoData.json will be used.

Installation

Run npm install

To start the server, run node server. You can then navigate to http://localhost:8001 (or 8000 in a production environment).

Development

The project uses Gulp to compile the files required for the front-end. That is:

  • Javascript from source/scripts.js to public/main.js
  • Less from source/styles.less to public/main.css

Run gulp to start the compiling process. It will watch any changes and recompile the files. If you have Livereload running in the browser, it will automatically update the site.

Todo

  • Set up a testing environment and test all the things
  • Break main.less into smaller, more maintainable files
  • Use browserify for the front-end JS instead of manually adding files to the Gulp process
  • Break scripts.js into smaller, more testable files