Skip to content

(V2) Comprehensive tool for driving instructors to manage lessons, students, and vehicle maintenance with detailed reports.

Notifications You must be signed in to change notification settings

hassanuahmad/drivers-log2

Repository files navigation

Drivers Log

(Version 2) A comprehensive web app designed for driving instructors to manage lessons, track student progress, and oversee vehicle maintenance. It offers detailed daily, weekly, monthly, and yearly reports. Instructors can individually monitor each student's lessons and conveniently download reports in Word format.

Tech Stack

  • NextJS
  • TailwindCSS
  • Supabase
  • Stripe
  • Mailgun

Development Setup

Prerequisites

Installation

  1. Clone this repository:
git clone git@github.com:hassanuahmad/drivers-log2.git
  1. Install project dependencies:
npm install
  1. Copy the .env.example file and rename it to .env. Update the variables with appropriate values:
NEXT_PUBLIC_BASE_URL='your-base-url like http://localhost:3000'

# the following are variables for supabase
NEXT_PUBLIC_SUPABASE_URL='your-supabase-url'
NEXT_PUBLIC_SUPABASE_ANON_KEY='your-supabase-anon-key'
SUPABASE_ADMIN='your-supabase-admin-key'

# the following are variables for stripe
STRIPE_SECRET_KEY='your-stripe-secret-key'
STRIPE_WEHBOOK_SECRET='your-stripe-webhook-secret'
STRIPE_PRICE_ID='your-product-price-id'

NEXT_PUBLIC_GOOGLE_PLACES_API='your-google-places-api-key'

# the following are variables for special instructor features
NEXT_PUBLIC_INSTRUCTOR_ID='instructor-id'
NEXT_PUBLIC_INSTRUCTOR_NAME='instructor-name'
NEXT_PUBLIC_INSTRUCTOR_LICENCE='instructor-licence-number'
NEXT_PUBLIC_INSTRUCTOR_LICENCE_EXPIRY='instructor-licence-expiry'
NEXT_PUBLIC_ONTARIO_LICENCE='instructor-ontario-licence-number'

Development

Start the Next.js development server:

npm run dev

Your development environment is now set up and running. Access the site at http://localhost:3000.

About

(V2) Comprehensive tool for driving instructors to manage lessons, students, and vehicle maintenance with detailed reports.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages