The Vanderbilt MoveVU Ridership Dashboard is a web application designed to visualize Nashville's bus ridership data, providing insights into usage trends across various routes. With a modern and interactive UI, the dashboard enables users to explore ridership data filtered by time periods and rider demographics.
- Interactive Data Filtering: Filter ridership data by custom date ranges and dynamically switch between different visualization tabs.
- Top Routes Visualization: View ridership trends for the top routes over time.
- Unique Users Analysis: Visualize monthly unique user counts for both historical and QuickTicket ridership.
The dashboard is built using a combination of technologies:
- Next.js for the frontend and server-side rendering.
- TypeScript for type safety and enhanced development experience.
- Prisma ORM to handle database access and manipulate PostgreSQL data.
- Chart.js for creating interactive and visually appealing data visualizations.
- PostgreSQL for creating interactive and visually appealing data visualizations.
-
Clone the repository:
git clone https://github.com/SySyAli/vandy_movevu_dashboard_new.git
-
Navigate to the project directory:
cd vanderbilt_movevu
-
Install dependencies:
npm install
-
Configure environment variables: Create a
.env
file in the root directory with:POSTGRES_PRISMA_URL="your-postgres-connection-string" POSTGRES_URL_NON_POOLING="your-postgres-direct-connection-string"
-
Run database migrations:
npx prisma migrate dev
-
Start the development server:
npm run dev
The app will be running on http://localhost:3000
.