Giter VIP home page Giter VIP logo

clock's Introduction

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

clock's People

Contributors

harshppatel avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.