This site was created for LyskaLAN 2018 Session 6 LAN event. Site uses express NodeJS with MongoDB as a DB. Frontend uses mostly plain JS with some Jquery and other smaller libs. This site also used Bulma CSS framework. Site is in finnish.
Homepage. Used for reserving place.
Admin panel. Used for controlling reservations.
Music request control panel. Works but not finished.
- Clone the repo
- Use
npm installand install every package - Create a
.envfile onrootof this project and customize options
#.env file
#SERVER
PORT=80
#COOKIE SETTINGS
COOKIE_HTTPS=false
COOKIE_SECRET="custom cookie secret"
#DB
DB="mongodb+srv://mongodbpath
- Create new folder
privateand make sub-jsonfile calledSECRET.jsonand customize login info. Use sha256 to encrypt it.
{
"username": "admin",
"password": "5E884898DA28047151D0E56F8DC6292773603D0D6AABBDD62A11EF721D1542D8"
}
- Run the server:
node app - You can use admin panel by going
./login
This project is not perfect.


