Git Product home page Git Product logo

oneclock's Introduction

OneClock

Create countdown timers that are synchronised in real-time across unique shareable URLs. Built originally for use at a conference for sharing speaker timings across the compère and AV staff.

App preview

How it works

The project has been built in React making use of Firebase to provide the real-time synchronous functionality.

Configuration

Run npm install to get the dependencies.

Create a firebase app and set the database rules to public for read/write. You should then add your database credentials to an .env file in the root of the project. These credentials can be found from clicking 'add firebase to your web app' from the overview board of your newly created Firebase app.

OneClock makes use of the dotenv environment file loading that comes preconfigured from create-react-app. As such the environment variables need to be prefixed with REACT_APP_ and thus the environment file will look like the following.

REACT_APP_FB_API_KEY=
REACT_APP_FB_DATABASE_URL=

Deploying

After building for production through npm run build the application is ready to be deployed to a webhost. The easiest host is Firebase using their firebase-tools CLI.

Commands

# install dependencies
npm install

# start webpack in development mode
npm run start

# build for production
npm run build

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.