Giter Site home page Giter Site logo

keyboard's Introduction

Keyboard

The keyboard is a project that demostrates piano keyboard and uses JavaScript MVC framework React. Concerning the design when you click on a white key, the key is highlighted and the corresponding letter is appended to an element below the keyboard that acts as a log.

Running locally - without Docker

Requirements

  • Yarn/ npm

Step 1

Ensure you have either npm or yarn installed.

To check whether you have npm or yarn installed you can run the command npm -v or yarn -v to check whether you have them installed respectively. Clone the repo e.g. git clone https://github.com/maretekent/keyboard to your favourite project directory.

Step 2

You need to install all the project's dependencies locally, for this you should run

yarn install # If you have yarn installed

# or

npm install # If you have npm installed

Step 3

Once you have completed all the steps above you are ready to run the application. You can use any of the commands below for that:

yarn start # Use this when you have the backend configured and running too.

# or 

yarn start:dummy # To start the application using the dummy server

alternatively is to run

npm start

Adding an Octave to Keyboard

  • You can add an octave to the keyboard on line 17 of App.js file for instance octave : ['c','d','e','f','g','a','b','c','d','e','f','g','a','b']
  • A nice to have would be creating configurable file or env variables that one can easily add the octave

Running Test

We are currently using mocha, chai, sinon and enzyme for testing to run the test just run the following: npm test

Pull Requests

There are pull requests closed Pull Requests

Issues

I have logged issues here Issues

keyboard's People

Contributors

maretekent avatar

Watchers

James Cloos avatar

keyboard's Issues

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.