Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Morabotti/LYSKALAN2018

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LYSKALAN 2018 Session 6

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.

Pictures:

Homepage. Used for reserving place. Homepage

Admin panel. Used for controlling reservations. Admin Panel

Music request control panel. Works but not finished. Music request

Install:

  1. Clone the repo
  2. Use npm install and install every package
  3. Create a .env file on root of 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
  1. Create new folder private and make sub-jsonfile called SECRET.json and customize login info. Use sha256 to encrypt it.
{
    "username": "admin",
    "password": "5E884898DA28047151D0E56F8DC6292773603D0D6AABBDD62A11EF721D1542D8"
}
  1. Run the server: node app
  2. You can use admin panel by going ./login

NOTE:

This project is not perfect.

About

Website for LyskaLAN 2018 Session 6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published