Assignment 3 - Persistence: Two-tier Web Application with Flat File Database, Express server, and CSS template
Due: September 16th, by 11:59 AM.
This assignnment continues where we left off, extending it to use the most popular Node.js server framework (express), a flat file database suitable for small applications (lowdb), and a CSS application framework / template of your choice (Boostrap, Material Design, Semantic UI, Pure etc.)
https://a3-rosanapochat.glitch.me/login
- Create a list of items needed when going Grocery Shopping
- Found it really hard to be able to make the
client.js
file link to theindex.ejs
file. Because of this at first items were not being added or displayed. - Used Passport local was used, however, a nodemon server was implemented.
- Used Milligram css
- Five Express middleware packages used and a short description.
- Passport: allows users to have to authenticate before being able to access data.
- Server Static: Serve static files.
- Helmet: Exta level of security
- Bycript: encripts password
- Express Flash/Session
- Tech Achievement 1: USed Nodemon Server
- Tech Achievement 2: Used Bycript to encript the password
- Tech Achievement 3:
- Design Achievement 1: I followed best practices for accessibility, including providing alt attributes for images and using semantic HTML. There are no
<div>
or<span>
elements in my document.