diff --git a/.env b/.env new file mode 100644 index 000000000..e339be80d --- /dev/null +++ b/.env @@ -0,0 +1,9 @@ +{ + USER= "cs4241" + PASS= "admin" + HOST="a3.sojs76r.mongodb.net/?retryWrites=true&w=majority" + DB_TASKS=a3 + DB_USERS=UserAccounts + DB=a3 + ADMIN_ACCOUNT_ID= 651b1ecfde9e419911419e83 +} \ No newline at end of file diff --git a/README.md b/README.md index 8a31308ca..e742663ec 100644 --- a/README.md +++ b/README.md @@ -1,114 +1,72 @@ Assignment 3 - Persistence: Two-tier Web Application with Database, Express server, and CSS template -=== - -Due: September 25nd, by 11:59 AM. +--- -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.) +## What do I have to do? -Baseline Requirements ---- +https://a3-seanarackal.glitch.me/ -Your application is required to implement the following functionalities: +Access: +Username: cs4241 -- 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. -- Persistent data storage in between server sessions using [mongodb](https://www.mongodb.com/cloud/atlas) (you *must* use mongodb for this assignment). You can use either the [official mongodb node.js library](https://www.npmjs.com/package/mongodb) or use the [Mongoose library](https://www.npmjs.com/package/mongoose), which enables you to define formal schemas for your database. Please be aware that the course staff cannot provide in-depth support for use of Mongoose. -- 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. +Password: admin -Your application is required to demonstrate the use of the following concepts: +or create an account! -HTML: -- HTML input tags and form fields of various flavors (`