diff --git a/.glitch-assets b/.glitch-assets new file mode 100644 index 000000000..954626f61 --- /dev/null +++ b/.glitch-assets @@ -0,0 +1,6 @@ +{"name":"drag-in-files.svg","date":"2016-10-22T16:17:49.954Z","url":"https://cdn.hyperdev.com/drag-in-files.svg","type":"image/svg","size":7646,"imageWidth":276,"imageHeight":276,"thumbnail":"https://cdn.hyperdev.com/drag-in-files.svg","thumbnailWidth":276,"thumbnailHeight":276,"dominantColor":"rgb(102, 153, 205)","uuid":"adSBq97hhhpFNUna"} +{"name":"click-me.svg","date":"2016-10-23T16:17:49.954Z","url":"https://cdn.hyperdev.com/click-me.svg","type":"image/svg","size":7116,"imageWidth":276,"imageHeight":276,"thumbnail":"https://cdn.hyperdev.com/click-me.svg","thumbnailWidth":276,"thumbnailHeight":276,"dominantColor":"rgb(243, 185, 186)","uuid":"adSBq97hhhpFNUnb"} +{"name":"paste-me.svg","date":"2016-10-24T16:17:49.954Z","url":"https://cdn.hyperdev.com/paste-me.svg","type":"image/svg","size":7242,"imageWidth":276,"imageHeight":276,"thumbnail":"https://cdn.hyperdev.com/paste-me.svg","thumbnailWidth":276,"thumbnailHeight":276,"dominantColor":"rgb(42, 179, 185)","uuid":"adSBq97hhhpFNUnc"} +{"uuid":"adSBq97hhhpFNUna","deleted":true} +{"uuid":"adSBq97hhhpFNUnb","deleted":true} +{"uuid":"adSBq97hhhpFNUnc","deleted":true} diff --git a/README.md b/README.md index 1ba2c7a4c..e2de51bba 100644 --- a/README.md +++ b/README.md @@ -1,116 +1,29 @@ -Assignment 3 - Persistence: Two-tier Web Application with Database, Express server, and CSS template -=== +Mary Barsoum A3: https://a3-test-ui.glitch.me -Due: September 22nd, by 11:59 AM. +I really struggled with A3. I recently went to office hours and Noelle walked me through +everything I didn't understand. This is what I was able to complete afterwards. -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.) +the goal of my project was to create a daily journal for the user where they can input how they feel daily +I faced many challenges while completing this assignment. I think the biggest part for me was not totally +understanding the client server relationship fom A2. After going to office hours I understood it much better +and was able to tackle express. I also had trouble connecting mongodb a first. -Baseline Requirements ---- +for authentification I first addressed if the use already existed in the system. from there I compared +the password the user inputted and the password saved in the databse. -Your application is required to implement the following functionalities: +I implemented multiple console.logs on the user and server side. I could upload entry data to mongodb +but I was unable to filter through the database and output it on the html. hopefully you can see the data entries in +the console logs -- 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. +## technical achievemnets -Your application is required to demonstrate the use of the following concepts: +- I created a cluster on Mongodb and successfully connected it to my code +- the user is able to create an account and login +- the username and password are checked for the user, stored in mongo and dealt with accordingly +- the user will get navigated to the entry page upon correct login or creation of account +- I used the bodyparser middleware -HTML: -- HTML input tags and form fields of various flavors (`