A realtime ski resort management webapp. Actually, a learning project for Node.js
JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
controllers
lib
models
node_modules
public
views
.gitignore
README.md
app.js
jsnow
package.json
routes.js

README.md

JSnow!

JSnow! is a learning project offering a ski resort management webapp, made with Node.js and the Express framework.

Objectives

  • Inform skiers about snow conditions at various ski hills.
  • Allow skiers to contribute real-time feedback about the said conditions.

How to use

Dependencies

You will need to install (if you don't already have them):

Simple install

If you just downloaded MongoDB for this application, you must have a folder with a bin folder in it. Simply move that folder to lib/mongodb (so that the binaries are in lib/mongodb, not lib/mongodb/bin).

Then:

git clone git://github.com/MattiSG/JSnow.git    # or simply download a zipball on the "download" tab
cd JSnow
sudo ./jsnow    # sudo is needed to start the Mongo database dæmon

…and you can simply hit localhost:3000 on your favorite browser.

Custom install

If you already have MongoDB in your PATH, then do something along the lines of:

git clone git://github.com/MattiSG/JSnow.git    # or simply download a zipball on the "download" tab
npm install -d  # install all necessary dependencies
mkdir data  # prepare database storage
sudo path/to/your/install/of/mongodb/bin/mongod # start up MongoDB daemon; possibly see --dbpath option
node app.js # start the application

…and you can simply hit localhost:3000 on your favorite browser.

Browser compatibility

  • Best seen on Chrome.
  • Any recent WebKit browser will be good.
  • Firefox offers a somewhat degraded experience.
  • Not tested on IE.

Default users

The “skimaster” (admin account) uses the following identification:

  • email: admin@jsnow.fr
  • password: admin

Authors

Credits