This the web application for Park Ave. Users are able to list their private parking on this website and the users of iOS application can reserve and pay for parking spot using their iPhone.
To use this script clone this repository on your remote server.
git clone https://github.com/parkave/parkave-webapp.git && cd parkave-webapp
npm install
bower install
You need to have MongoDB running on your machine or change the mongo's URL to a remote machine. To develop:
node server/app.js
To serve final product:
NODE_ENV='production' [optional port] [other environmental variables] node server/app.js
parkave-webapp
.
├── .gitignore
├── package.json - Used npm packages
├── bower.json - Used bower packages
├── node_modules - Contains bower modules
├── README.md
├── client - Contains client files (mostly static)
│ ├── bower_components - Contains bower modules (created by running bower install)
│ ├── images
│ ├── css - Global css files
│ ├── index.html
│ ├── fonts
│ ├── styles - Contains css for different pages/views
│ │ └── [page-name]
│ └── js - Contains javascript for different pages/views
│ └── [page-name]
└── server - Contains the server side scripts
├── app.js - Node/Express application
├── routes.js - API routes
├── model - Object Models
│ └── [name]
└── controller - Controllers and logic
└── [name]