Mobile Web App for Duke Arts
Make sure you have node and npm installed. If you don't have it yet, go to nodejs.org
git clone git@github.com:yangsu/DuArts.git
cd DuArts
npm install -d
In your application directory
node app.js
- Open up Chrome (for the easiest configuration).
- Go to http://localhost:3000
Use screen
to start the server with the command supervisor app.js
To run the server on port 80, simply do sudo PORT=80 supervisor app.js
The data is collected on the server using cron
. SSH into the server and using crontab -e
to edit frequency.
The database resides on the server, which is currently here. The path is set here.
Backend:
- Node.js
- Mongoose - MongoDB driver for Node.js
- Underscore - Utility functions
- Async - Async Control Flow
- Express - Web Framework for Node.js
- MongoDB - Document Store
- Jade - Server side html templating
- Stylus - Server side css generator
Frontend:
- Backbone.js - Frontend MVC Framework
- Ratchet - Prototype iPhone Apps
Duke PL Course JavaScript Slides
You can find most of what you need in the page above. Focus on Backbone, jQuery, and Node.js.
A Beginner's Guide to HTML & CSS