diff --git a/README.md b/README.md index 1ba2c7a4c..34aea30da 100644 --- a/README.md +++ b/README.md @@ -1,116 +1,38 @@ -Assignment 3 - Persistence: Two-tier Web Application with Database, Express server, and CSS template -=== +# BOOKish NOOK (now with MongoDB capabilities!) -Due: September 22nd, by 11:59 AM. +https://a3-cindytrac-bkftt.ondigitalocean.app/ -This assignnment continues where we left off, extending it to use the most popular Node.js server framework (express), -a database (mongodb), and a CSS application framework / template of your choice (Boostrap, Material Design, Semantic UI, Pure etc.) +I implemented my application from A2, BOOKish NOOK. Once again, users can log their reading but this time the data will persist between sessions. +Users can add, delete, and edit reading entries into their 'library.' I struggled the most with getting the correct paths and calls to MongoDB in order to be able to allow users the add, delete, and edit functionalities. However, the API was well-documented and I was able to get it. I had the beginnings of a login system as part of my authentication strategy, but struggled to get it working. -Baseline Requirements ---- +## CSS Framework -Your application is required to implement the following functionalities: +I used Bootstrap as my CSS framework of choice. I liked the simplicity and sleakness of Bootstrap. When I was looking into different frameworks, I read that Bootstrap's grid system was one of the most flexible and response. I ended up ultilizing this in my two column approach to the webpage. The majority of my edits via CSS was color changes or playing around with the spacing (which was a struggle). -- a `Server`, created using Express (no alternatives will be accepted for this assignment) -- a `Results` functionality which shows all data associated with a logged in user (except passwords) -- a `Form/Entry` functionality which allows users to add, modify, and delete data items (must be all three!) associated with their user name / account. -- Use of at least five [Express middleware packages](https://expressjs.com/en/resources/middleware.html). Explore! One of these five middleware -can be a custom function that you write yourself; if you choose to do this, make sure to describe what this function is in your README. -- Persistent data storage in between server sessions using [mongodb](https://www.mongodb.com/cloud/atlas) -- Use of a [CSS framework or template](https://github.com/troxler/awesome-css-frameworks). -This should do the bulk of your styling/CSS for you and be appropriate to your application. -For example, don't use [NES.css](https://nostalgic-css.github.io/NES.css/) (which is awesome!) unless you're creating a game or some type of retro 80s site. +## Express Middleware -Your application is required to demonstrate the use of the following concepts: - -HTML: -- HTML input tags and form fields of various flavors (`