Bright Lin https://a3-bright-lin-2e9e58c1e3a9.herokuapp.com/
-
The goal of the application is to be used to keep score of whatever game you want where it includes your kills, deaths, assists, and a newly calculated KDA.
-
Challenges I faced when was trying to figure out how to
-
I chose to have a object that has both the username and password saved in mongodb. It was just a seperate collection to my main data. This data can then be looked up when users try to login. I then used this data and created a couple of example login accounts. Each login account will have unique and different data that you could add to or modify. Accounts:
- Username: bright Password: hi
- Username: fish Password: hello
- Username: cats Password: bye I chose this way to do authentication because it was the first way i thought of doing it and it did seem like the simpliest way to implement it.
-
I chose to use the Blaze UI CSS framework because it looked very clean and had very well documentation so I could make my application the way I wanted to look very easily using the documentation. I did not do any custum CSS.
-
Express Middleware
- cookie-session: Used to establish a cookie based session for my login
- express.urlencoded({ extended:true }): Used to get data sent by defaut form actions and GET requests
- express.static('public'): Serves up static files in the directory public
- Tech Achievement:
- I've achieved 100% on all lighthouse report fields on both the login page and the main page.

