diff --git a/.env b/.env new file mode 100644 index 000000000..6e67ac899 --- /dev/null +++ b/.env @@ -0,0 +1,6 @@ +USER="sizheli" +PASS="a89IblxEVumqBScl" +HOST="cluster0.wmbk7c6.mongodb.net" +PORT=3000 +GITHUB_ID="216e302e6a21aba13aaa" +GITHUB_SECRET="89a0bb89fd2eda0289b8734cf47da54de9d99fcc" \ No newline at end of file diff --git a/.glitchdotcom.json b/.glitchdotcom.json new file mode 100644 index 000000000..afcf92ab0 --- /dev/null +++ b/.glitchdotcom.json @@ -0,0 +1 @@ +{"appType":"node","buildDirectory":null} diff --git a/.node-gyp b/.node-gyp new file mode 100644 index 000000000..e69de29bb diff --git a/README.md b/README.md index 1ba2c7a4c..f665beb5f 100644 --- a/README.md +++ b/README.md @@ -1,116 +1,50 @@ -Assignment 3 - Persistence: Two-tier Web Application with Database, Express server, and CSS template -=== +# Assignment 3 - Persistence: Two-tier Web Application with Database, Express server, and CSS template -Due: September 22nd, by 11:59 AM. +## Project Link -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: [https://a3-sizheli-persistence.glitch.me](https://a3-sizheli-persistence.glitch.me) -Baseline Requirements ---- +Test account: tester -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. - -Your application is required to demonstrate the use of the following concepts: - -HTML: -- HTML input tags and form fields of various flavors (`