Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hugihlynsson/hvad-er-i-bio

A web app that displays movie screenings in Icelandic cinemas
https://github.com/hugihlynsson/hvad-er-i-bio

Last synced: about 2 months ago
JSON representation

A web app that displays movie screenings in Icelandic cinemas

Awesome Lists containing this project

README

        

# 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](http://kvikmyndir.is) api.

##Requirements:

- [NodeJS](http://nodejs.org)
- [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](http://localhost:8001) (or [8000](http://localhost:8000) in a production environment).

## Development

The project uses [Gulp](http://gulpjs.com) 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](http://feedback.livereload.com/knowledgebase/articles/86242-how-do-i-install-and-use-the-browser-extensions-) 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](http://browserify.org) for the front-end JS instead of manually adding files to the Gulp process
- Break scripts.js into smaller, more testable files