Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions jack_sneed/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
db/
build/
29 changes: 1 addition & 28 deletions jack_sneed/README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1 @@
Mongo Backed REST API
==========================
To complete this assignment:
* fork this repository (the sub module for this specific assignment)
* clone down your fork
* place all of your work in a folder that is your full name, use `_`s instead of spaces
* push back up to your fork
* create a pull request back to the original repo
* submit a link to the PR in canvas

Assignment Description
--------------------------
Create a single resource rest API with Express that's backed by Mongo.

I'm leaving this pretty open to interpretation. I want you to write this from scratch, don't just copy and paste code from class or previous projects.

Add a feature of Mongoose that we didn't use class, such as data validation.

Also, implement a non CRUD resource (meaning that it doesn't use the full GET/POST/PUT/PATCH/DELETE interface).



Rubric

* Use of Express: 3pts
* Use of Mongo: 3pts
* Tests: 2pts
* Project Organization: 2pts
NINJA PARTY BATTLE
6 changes: 6 additions & 0 deletions jack_sneed/app/css/base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
body {
font-family: 'Play', sans-serif;
color: white;
background-color: black;
}

17 changes: 17 additions & 0 deletions jack_sneed/app/css/layout.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.flex-container {
display: flex;
justify-content: space-between;
flex-direction: column;
align-content: center;
}

.flex-item {
padding: 1em;
order: 1;
}

form {
display: flex;
flex-direction: column;
}

10 changes: 10 additions & 0 deletions jack_sneed/app/css/module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
button {
border-radius: .4em;
background-color: #FFF21D;
color: black;
}

input {
color: black;
}

Loading