Changhong-st / FTR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started with Create React App

This project was bootstrapped with Create React App.

Play

To start the app, run yarn to install packages, and then run yarn start to run the app

  1. On startup, the program will prompt the user for the number of seconds (X) between outputting the frequency of each number to the screen.
  2. Every X seconds the program will display, in frequency descending order, the list of numbers and their frequency.
  3. If the user enters 'halt' the timer should pause.
  4. If the user enters 'resume' the timer should resume.
  5. If the user enters a number that is one of the first 1000 Fibonacci numbers, the system should alert "FIB"
  6. If the user enters 'quit', the application should output the numbers and their frequency, a farewell message, and finally terminate.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

TODO: Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

TODO: Builds the app for production to 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!

See the section about deployment for more information.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

About


Languages

Language:TypeScript 85.9%Language:HTML 14.1%