I'm a huge Formula One fan and I often find myself looking up statistics and race results. The tool available on the official website works but it's a little unwieldy and slow. This application is a quick and convenient method of getting race and championship statistics.
This was built with React, Node, and Express.
It takes input from the user via text or speech-to-text, translates that query into a request to the Ergast Developer API, and returns the results as text.
The production build is hosted on Heroku here. That is the beta but basic functionality should be available. Speech-to-text only functions on Chrome.
- From the parent directory; enter the command
npm install
- From the
/views
directory; enter the commandnpm install
- From the parent directory; enter the command
npm run dev
. This will start both the Express and React servers and deploy the development version.
The main model is written with TypeScript. The typescript has already been compiled to a Javascript file but you can install the Typescript compiler node_typescript
with your preffered package installer and enter the command tsc
in the parent directory of this repository. This will start the compiler in watch mode (auto-updates after file changes are made) as per tsconfig.json
. This will allow you to make changes to Search.ts.