Skip to content
Open

Sass #90

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
776d764
added auth routes. post route works but get route does not
emily2124 Nov 24, 2015
ed608ea
added client side with basic angular
emily2124 Nov 24, 2015
627cbfd
added authentication post & get routes and corresponding testing
emily2124 Nov 29, 2015
adf3b02
added controller and angular crud - only list all and add so far. nee…
emily2124 Dec 2, 2015
c8bcfe4
added edit and delete functionality. still need to make cancel edit b…
emily2124 Dec 2, 2015
5df926e
working on cancel edit button to reset to original values. not workin…
emily2124 Dec 2, 2015
ceb8815
cancel edit now reverts to pre-edit values
emily2124 Dec 3, 2015
6c7b432
added basic styling and css build & watch tasks to gulpfile
emily2124 Dec 3, 2015
04604ae
added basic testing for angular
emily2124 Dec 3, 2015
ff03584
commit w updated .gitignore
emily2124 Dec 3, 2015
d1abaa9
added .DS_Store to .gitignore
emily2124 Dec 3, 2015
65325a1
commented out mocha and jshint tests from gulpfile, it seems to be ca…
emily2124 Dec 3, 2015
7e98bfe
added client-side tests for get and post routes as well as some basic…
emily2124 Dec 5, 2015
1f9dee9
testing done
emily2124 Dec 5, 2015
7df8898
added styling
emily2124 Dec 6, 2015
ad8259a
added styling
emily2124 Dec 6, 2015
0fc7266
add sass files and update gulpfile
emily2124 Dec 8, 2015
32f3e28
Merge pull request #1 from emlandi/auth
emily2124 Dec 9, 2015
a94fb30
Merge pull request #2 from emlandi/angCRUD
emily2124 Dec 9, 2015
d571eeb
Merge branch 'master' of https://github.com/emlandi/mongo_backed_rest…
emily2124 Dec 9, 2015
53b51f5
styling with sass
emily2124 Dec 9, 2015
d1800e9
play with advanced sass styling, specifically mixins ans, variables a…
emily2124 Dec 9, 2015
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
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
**/node_modules/
**/*.sw?
**/node_modules
**/db
**/*bundle.js
**/db/
**/build
**/.DS_Store
38 changes: 13 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,16 @@
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
Add a CSS process to your Gulpfile including:
-Minification
-Concatenation
-And a watch

Assignment Description
--------------------------
Create a single resource rest API with Express that's backed by Mongo.
Organize your CSS using the SMACSS file structure. I would like to see a proper separation of concerns.
-base.css
-layout.css
-module.css
-state.css

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.
Your process should produce a single .min.css file into your build directory

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
Your application should be Responsive
-Use a flexible layout
-Use media queries where necessary
40 changes: 40 additions & 0 deletions emily_landi/app/css/base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/*Base rules are the defaults.*/
body {
font-family: 'Georgia', 'Arial';
font-size: 1em;
color: black;
background-color: darkgrey;
}
h1 {
text-align: center;
margin: 0;
width: 100%;
height: 2.5em;
background-color: black;
color: white;
font-size: 4.5em;
}
h2, p {
padding-left: 1em;
padding-right: 1em;
}
#books {
background-color: aqua;
}
#newBooks {
padding: 1em;
border: 0.5em solid aqua;
}
img {
height: 40%;
width: 40%;
padding-left: 30%;
}
footer {
margin-top: 1em;
padding: 0.75em;
background-color: black;
color: white;
font-size: 1em;
text-align: center;
}
Loading