diff --git a/README.md b/README.md index 1ba2c7a4c..cc6b7da86 100644 --- a/README.md +++ b/README.md @@ -1,116 +1,45 @@ -Assignment 3 - Persistence: Two-tier Web Application with Database, Express server, and CSS template -=== -Due: September 22nd, by 11:59 AM. +## GRADER +a3-persistance-vsph22 +Vishnu Priya Dendukuri -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.) +link: http://143.198.129.216/ +Hey! You want to calculate your grade? Here is your grade calculator. +Just type in your scores (out of 100) and you will be able to recieve your grade in seconds! Above 90% would be an A, above 80% = B, above 70% is C and anything less than 70% would give you NR. -Baseline Requirements ---- +To add information, go to the form below and type the details to add a class and the scores and click on "Submit" +To delete, you can just click in the "X" button corresponding to the row you want to delete +To edit, click on the "O" button corresponsing to the row you want to edit and the data would appear back on the form.You can edit whatever specific data you want and click on the "Submit the edited changes" button. -Your application is required to implement the following functionalities: -- 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. +- challenges you faced in realizing the application: I really faced a lot of challenges while implementing the git auth. I also faced difficulties with mongo as I have never worked with it + +- what authentication strategy you chose to use and why: I chose git auth as it is something that our grader can access and also it seemed easier to implement. -Your application is required to demonstrate the use of the following concepts: +- what CSS framework you used and why: For the CSS, I used pure template and CSS because they seemed simple which is perfect for my simple app. I have also changed up the colors in the css files such that I like them + +- the five Express middleware packages you used and a short (one sentence) summary of what each one does. If you use a custom function for *one* (and one alone) middleware please : For the middleware +first one was passport, which helps me to handle the git oauth. Second one was response-time which records the response time for requests in HTTP servers so that I'm able check it. Thirdly, i used cookie-parser which parses cookies attached to the client request object and helps keep track of cookies in the server. Lastly, I used cookieSession to encrypt and manage the cookies + +Persistent data storage in between server sessions I used [mongodb] -HTML: -- HTML input tags and form fields of various flavors (`