Web project for booking seats in cinema. Application was created during studying on last year. I update my project in a few places near the middle of 2015.
- Frontend:
- jQuery ver. 1.11.2
- Ajax
- LESS(CSS3)
- HTML5
- Backend:
- Express(node.js) ver. 4.12.3
- SOCKET.IO ver. 1.3.5
- passport ver. 0.2.1
- Database:
- mongoose(MongoDB) ver. 4.0.2
User | Admin | |
---|---|---|
Create user account | X | X |
Update user profile | X | X |
Book seats | X | X |
See details about booked seat | X | |
Add/edit/remove new seance | X | |
Remove user account | X | |
Add/edit/remove newses | X |
- Go to the directory with application.
- Install all dependencies:
npm install
- Set path of mongoDB (e.g.
mongod --dbpath C:\your_direction_to_project\reservation-in-cinema\data
). - Create database on mongoDB:
use reservation
. - Create admin account with using command:
db.usermodels.insert( { isAdmin: true, email: "", phone: "", surname: "Smith", name: "John", password: "sha1$10eb0e25$1$bde8a0b29628ee8833c2600f30015f101711a1e5", username: "admin" } )
- Start Express server:
npm start
- Open browser with address
localhost:3000
to see application.
To login on admin account please useadmin
for username andpassword
for password.