A web application that displays Minneapolis Metro Transit bus line information based on APIs available via Metro Transit NextTrip API. This particular project was built using Next.js React framework with Tailwind CSS.
The application must provide the following functionality:
- Select a bus route from a list of available routes
- Select a direction for a bus route
- For a given route and direction, display the stops
- Respond reasonably to browser back and forward buttons (for example, implement application routing)
To get a local copy up and running follow these simple example steps:
Clone this repo
git clone https://github.com/mtcmtc/nextrip.git
cd nextrip
Install the dependencies:
yarn install
yarn dev
npm install
npm run dev
Navigate to localhost:3000. You should see your app running. You can make edits in components
or pages
, save, and see your changes.
To create an optimized version of the app:
yarn build
npm run build
You can run the newly built app with yarn start
or npm run start
.
- The user is accessing the app on-the-go on a mobile device.
- Mobile experience should be prioritized
- Minimal data usage and fetch requests
- The user will likely make accidental selections.
- Use browser routing to retrace steps and keep user on the same page.
- User may have ADA accessibility needs
- Account for screen readers
- Account for contrast
- Dark mode for light sensitivity