harshPPatel / clock

A App for different units of time like Time, day, date, month and year.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clock

A clock app created on JavaScript ES6 features. It shows different units of the time. App changes the background to dark color according to the time (between 8 PM to 6 AM). App takes time zone from the device time zone and displays different time units.

Getting Started

To get started with this app, clone or download the repository from GitHub. This app uses node and gulp for managing tasks. So before starting to redeveloping this app, install these dependencies.

Required

This is the list of required software/technologies to run for further instructions.

  • IDE (Integrated Development Environment)
  • node
  • Last but not least, Browser🌐!

Installing

Follow this step by step instruction to install dependencies. Code is provided as an example.

First, open the terminal / Command Prompt and navigate to this project folder and follow the steps.

Step 1 : Install Dependencies. Run below code in the terminal

npm install

Step 2 : Run Gulp watch command. This will run the app in development mode. This will start a local server and opens the website in the browser. It is Live Server, so if you make any changes in the files, it will run the gulp task associated with the file type, and refreshes the page. Now you can add your own code and use this app to create more than this!

gulp watch

Deployment

Step 1 : Once the development process is done, run Gulp build command to make an optimized copy of the app. This will optimize all of your assets as well as code. It will compress the images, minify HTML, CSS, JS files. It also adds auto-prefix to the CSS files. The app also uses babel in this step to compile ES6 code into vanilla JavaScript so that code can be understood by older browsers.

gulp build

Step 2 : Upload these build files to your server.

Built With

The following Framework/Technologies are used in this project's development.

Vendors

This is the list of third party packages used in the development process.

Read More About this project

  • Folder Structure - Link to Folder structure md file
  • JavaScript Functions - Link to javaScript functions md file
  • Gulp Functions - Link to Gulp functions md file

Author : Harsh P Patel

About

A App for different units of time like Time, day, date, month and year.


Languages

Language:JavaScript 53.3%Language:CSS 26.7%Language:HTML 20.1%