Skip to content

skrypt-nl/assignment-3-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment 3

Group 42 - http://webtech.science.uu.nl/group42/

Luke Koning (7073046)

Rick Tibbe (0794732)

Tomas van Groningen (2435268)

How to use

  1. Clone the repo
  2. Run npm install
  3. Run npm run db to seed the database
  4. Run npm run dev to start the server

Do note that the application is configured to run on the webtech.science.uu.nl/group42/ space only. Because of server structure with the subfolders, all asset links and redirects had to be hard coded.

Database

Structure

movie_plays - Contains all different dates & times when a movie plays

movies - Contains all movies

tickets - Contains all purchased tickets, a.k.a. orders

users - Contains all registered users

Files

db.sqlite3 contains the regular database

sessions.sqlite3 contains all persisted express-sessions

For the seeding and creation of the database, run npm run db. The SQL definitions for both creating the database and seeding it, can be found inside /src/database.

Users

Password for all users is secret, although every user can use a unique password.

Usernames:

  • superman
  • karen
  • tomas
  • rick
  • luke

Passwords are also hashed with bcrypt for extra security.

Webtechnology

Interactive Web Application for Utrecht University's Webtechnology course.
Assignment 3 - JavaScript & DOM manipulation

Sources we used:
https://interstellarfilm.fandom.com/wiki/Interstellar_Wiki
https://en.wikipedia.org/wiki/List_of_accolades_received_by_Interstellar
https://www.imdb.com/title/tt0816692/
https://www.youtube.com/watch?v=zSWdZVtXT7E

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published