-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f89dc4c
Showing
10 changed files
with
625 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Weather-Journal App Project | ||
|
||
## Overview | ||
This project requires you to create an asynchronous web app that uses Web API and user data to dynamically update the UI. | ||
|
||
## Instructions | ||
This will require modifying the `server.js` file and the `website/app.js` file. You can see `index.html` for element references, and once you are finished with the project steps, you can use `style.css` to style your application to customized perfection. | ||
|
||
## Extras | ||
If you are interested in testing your code as you go, you can use `tests.js` as a template for writing and running some basic tests for your code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Personal API Key for OpenWeatherMap API | ||
|
||
// Event listener to add function to existing HTML DOM element | ||
|
||
/* Function called by event listener */ | ||
|
||
/* Function to GET Web API Data*/ | ||
|
||
/* Function to POST data */ | ||
|
||
|
||
/* Function to GET Project Data */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Setup empty JS object to act as endpoint for all routes | ||
// Express to run server and routes | ||
|
||
// Start up an instance of app | ||
|
||
/* Dependencies */ | ||
/* Middleware*/ | ||
|
||
//Here we are configuring express to use body-parser as middle-ware. | ||
// Cors for cross origin allowance | ||
|
||
// Initialize the main project folder | ||
|
||
// Spin up the server | ||
// Callback to debug | ||
|
||
// Initialize all route with a callback function | ||
|
||
// Callback function to complete GET '/all' | ||
|
||
// Post Route | ||
|
Oops, something went wrong.