/WAD2_Website

Practical coursework of making a website for the module Web Application Development 2 at Glasgow Caledonian University.

Primary LanguageJavaScript

Web Application Development 2 - Website


How to run the site:
-Install npm package manager in the OS.
-Open a terminal window located from the cloned folder.
-Type "npm install" to install all dependencies.
-Create a .env file with a variable named ACCESS_TOKEN_SECRET, storing any string. E.g. ACCESS_TOKEN_SECRET = "test"
-Type "node index.js" to run the website.
-Write the URL "localhost:3000" on your browser.
-To login, use any of the users available in the database. E.g. username: kerrycopo, password: john73 .

Features:
-Landing, menu and login pages.
-Menu with updated dishes from the database.
-Login system for Staff.
-Create new dish (staff).
-Update dish (staff).
-Make dish available/unavailable from the menu (staff).