diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 000000000..b58b51eb1 Binary files /dev/null and b/.DS_Store differ diff --git a/.env b/.env new file mode 100644 index 000000000..2a0112136 --- /dev/null +++ b/.env @@ -0,0 +1,6 @@ +MONGODB_USER = generic +MONGODB_PASS = freeaccess +MONGODB_HOST = "a3.1joplnl.mongodb.net/?retryWrites=true&w=majority" + +GITHUB_CLIENT_ID = "5d83b71ec160d51c1b6f" +GITHUB_CLIENT_SECRET = "4cbb4b0394c1a9966ea431b3ce5cbe86ebcf2bde" \ No newline at end of file diff --git a/Procfile b/Procfile new file mode 100644 index 000000000..489b2700a --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: node server.js diff --git a/README.md b/README.md index 1ba2c7a4c..d2335c92a 100644 --- a/README.md +++ b/README.md @@ -1,116 +1,33 @@ -Assignment 3 - Persistence: Two-tier Web Application with Database, Express server, and CSS template +[assignment 3](https://a3-hyoder.herokuapp.com/) === -Due: September 22nd, 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.) - -Baseline Requirements ---- - -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 (`