Inspiration can be difficult to achieve. Keep track of your many important tasks and the weather with the suttle help of a random daily quote and beatiful scenery.
This time around you are being thrown into a mix of several files and some basic structure. Take some time to look at the files. Remember services are used for getting and mainting the data integrity. Controllers are for manipulating the DOM.
You will notice that the basic controllers and html structure has been setup for you. You will be responsible to connect each of the controllers to their appropiate service. Every Service is a constructor so be sure to invoke the service inside the controller and save it to a variable in the controller to gain access to the needed methods. Take a look at the weather controller for an example of newing up the services. Also don't forget to instantiate your controllers and add them to the app object.
Your goal will be to put all of the data gathered from the services together in a visually pleasing format as well as ensuring the functionality of a todo list.
Think about the update functions that each controller will need so its data can be rendered to the page.
Below you will see an image that you may use for inspiration.
This projects backend folder structure has been put in place for you. Your job on the backend is to get your express server started, create a connection to your own mlab database, and put together a Model
(schema/router) to manage a short todo list.
Be Sure to
npm i
after forking and cloning
It is your responsibility to render each piece of the data from the services out to the screen. Look carefully at each controller to figure out the properties that will need to be used for visualization.
Requirements:
20 points
: The data from the services are each rendered.5
Quote,5
Image,5
Weather,5
Todo
The todolist is perhaps on of the most important features of this application. You will need to provide the user a way to add items to a list to be monitored for tracking. The user should be able to add or remove items easily and for a small bonus the user should be able to indicate an items status if they don't want to remove the item.
Requirements:
2 points
: The todolist allows items to be added to a list2 points
: The todolist allows items to be removed from the list1 points
: The todolist shows the total count of tasks currently being tracked10 points
: The todolist takes advantage of the TodoService to provide persistent data through your Node Server
The positioning of elements on the page is not the absolute most crucial thing for this application however it does need to have few things to make the grade. Use the picture above as an idea for laying out your site.
Requirements:
2.5 points
: On hover the quote should show the author of the quote and disappear when not hovered over2.5 points
: The image should be on large display with at least one other element positioned over the top of the image.
Requirements:
- A clock should be rendered to the screen that updates each minute without a page refresh
- Allow the user to set their name and have it save to localStorage
- Change the message from Good Morning to Good Afternoon, Evening as appropriate.
- Allow the user to toggle the clock from, 12hr to military time.
- Include an Icon to show what the weather is sunny/cloudy/rainy
- Add a button to cycle to next quote/picture
- Could you encorporate a deadline for some of the tasks
- Add a settings so user can change to a new "theme" (font, background colors, etc.)
- Clicking the weather should let the user toggle between Celsius, Fahrenheit, or even Kelvin display
When You are finished please slack the url for your github repo to me with in a DM.