A web application designed to support the Training Records requirements of the SPL glider pilot training program.
- Frontend: Next.js 14
- Backend: Prisma ORM with Neon.tech database
- Authentication: NextAuth with email/password
- Styling: Tailwind CSS with dark/light mode support
- Clone the repository
- Install dependencies:
npm install
- Set up your environment variables:
# Copy the example environment file and update with your values
cp .env.example .env
The .env.example
file contains all the necessary environment variables with placeholder values. Edit the .env
file with your actual configuration:
NEXT_PUBLIC_APP_NAME
: Your application nameNEXTAUTH_URL
: The base URL of your application (default: "http://localhost:3000")NEXTAUTH_SECRET
: A secret key for NextAuth.js (at least 32 characters)DATABASE_URL
: Your database connection string
Never commit your actual .env
file to version control.
- Run database migrations:
npx prisma migrate dev
- Start the development server:
npm run dev
Open http://localhost:3000 to view the application.
MIT License - see LICENSE file for details