A corporate web application designed to manage and track training compliance across multiple locations. This platform facilitates role-based training assignments, monitors progress, and ensures associates meet Standard Operating Procedures (SOP) requirements.
-
User Management
- Role-based access control (Associates, Supervisors, Managers, Admins)
- Department-based organization
- User profile management
-
Training & SOP Management
- Assign SOPs to specific roles
- Track completion status
- Version control for SOPs
- Document management system
-
Administrative Dashboard
- Comprehensive admin panel for user management
- Department and position configuration
- Site-wide settings control
- Document Management
- Upload and organize training materials
- Manage signature sheets
- SOP document versioning
- 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 .envThe .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 stringRESEND_API_KEY: Your Resend API key for sending emailsSMTP_FROM: The email address to send emails fromNEXT_PUBLIC_TURNSTILE_SITE_KEY: Your Cloudflare Turnstile site key (public key)TURNSTILE_SECRET_KEY: Your Cloudflare Turnstile secret key (for server-side verification)
Never commit your actual .env file to version control.
- Run database migrations:
npx prisma migrate dev- Start the development server:
npm run devOpen http://localhost:3000 to view the application.
- View assigned training materials
- Track training progress
- Access department-specific SOPs
- Document completion status
- Monitor department compliance
- Manage team training progress
- Access departmental reports
- Full user management
- SOP and training assignment
- Site and department configuration
- System-wide settings control
- Role-based access control (RBAC)
- Secure password hashing
- Protected API routes
- Session management
- Cloudflare Turnstile bot protection on signup forms
MIT License - see LICENSE file for details

