Skip to content
/ wtf1 Public

React/Express application for using plain text or speech-to-text to query the Ergast Developer API for Formula One statistics.

License

Notifications You must be signed in to change notification settings

JCGuest/wtf1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku app beta

WTF1? Race and Championship Results Bot

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.


Demo

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.


To Deploy

  1. From the parent directory; enter the command npm install
  2. From the /views directory; enter the command npm install
  3. From the parent directory; enter the command npm run dev. This will start both the Express and React servers and deploy the development version.

TypeScript

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.

About

React/Express application for using plain text or speech-to-text to query the Ergast Developer API for Formula One statistics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published