/sample-code

Primary LanguageJavaScript

Sleep Calculator Project

This is a reactjs app that takes takes a user input from a selection field and calculates based on selected input. Please see screenshot below:

Getting started

To get started with code do the following

npm i 
npm start

This runs the app in the development mode.
Open http://localhost:3000 to view it in your browser. The page will reload when you make changes to the source.
You may also see any lint errors in the console.

Testing

npm test

Deployment to Production

npm run build

This creates an optimize build for the app for production. It is stored in the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Trouble shooting

NB: If you are running an issue with your test please use:

npm i -D --exact jest-watch-typeahead@0.6.5