Weather Journal App
The Weather Journal App is one of the projects required by Udacity in Web Development Professional Nanodegree Program In Egypt FWD Program
Table of Contents
Introduction
The Project is an asynchronous web app that uses Web API and user data to dynamically update the UI for a Weather-Journal App. Starter code is cloned from Udacity fend repository - Landing Page Project.
Project Structure
website // Contains website [front-end] files
css // Contains Page's styles sheets
style.css // Contains Main Page's styles
js // Contains website [front-end] JS files
app.js // Contains all required JS FE functionalities
constants.js // Contains constants for FE
index.html // Contains HTML code
server.js // Contains all required server functionalities
README.md // You are currently reading it :D
How To Run
Requirements
- Node
- Git
Common setup
Clone the repo and install the dependencies.
git clone https://github.com/KhogaEslam/Udacity-WDP_NDP-P1.git
cd Udacity-WDP_NDP-P1
npm install
Steps for read-only access
To start the express server, run the following
npm start
Open http://localhost:3000 in your browser and try it.
Deploy to Heroku
You can also deploy this app to Heroku:
Use Docker
You can also run this app as a Docker container:
Step 1: Clone the repo
git clone https://github.com/KhogaEslam/Udacity-WDP_NDP-P1.git
Step 2: Build the Docker image
docker build -t Udacity-WDP_NDP-P1 .
Step 3: Run the Docker container locally:
docker run -p 3000:3000 -d Udacity-WDP_NDP-P1