Skip to content

Web app to find bus between two places in top cities of Bangladesh. Built with Next.js

Notifications You must be signed in to change notification settings

thekhairul/citybusbd

Repository files navigation

This is a Next.js project bootstrapped with create-next-app. Deployed live on vercel at citybusbd.com.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

This project uses next/font to automatically optimize and load PT Sans, a custom Google Font.

API Reference

Get all stopages

GET /api/stops

Parameter Type Description
None None No parameters required

Get all buses

GET /api/bus

Parameter Type Description
None None No parameters required

Get available buses between two stops

GET /api/bus?from=stop_id&to=stop_id

Parameter Type Description
from string Required. From stop id
to string Required. To stop id

About

Web app to find bus between two places in top cities of Bangladesh. Built with Next.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published