This is a chat bot application that uses the Berlin public transportation system (BVG) public API. You can find more information about the API here. The chat bot has very rudimentary capabilities. It can print 10 stations matching a search term or print the next two departures for a selected station. The chat bot can also print a help message to output all the available commands.
First, fetch the dependencies:
npm install
# or
yarn
Then run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
The application uses both jest
and react-testing-library
. To run the test suit:
npm run test
# or
yarn test
The application is deployed using vercel
. You can find the production application here