forked from hazem/yslootahrobotics
- Implemented Prisma schema with models for AdminUser, AppSettings, and Snapshot. - Created seed script to initialize the database with an admin user and JWT secret. - Developed admin login page with form handling and error management. - Added API routes for admin login, logout, change password, and JWT verification. - Integrated Stripe for payment intent management in admin orders. - Established middleware for protecting admin routes with JWT authentication. - Created Zustand stores for managing persona and snapshot states.
40 lines
319 B
Plaintext
40 lines
319 B
Plaintext
# Dependencies
|
|
node_modules
|
|
.pnp
|
|
.pnp.js
|
|
|
|
# Build outputs
|
|
.next
|
|
out
|
|
dist
|
|
build
|
|
|
|
# Testing
|
|
coverage
|
|
|
|
# Misc
|
|
.DS_Store
|
|
*.pem
|
|
.env*.local
|
|
|
|
# Debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# Local env files
|
|
.env
|
|
|
|
# Vercel
|
|
.vercel
|
|
|
|
# TypeScript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
|
|
# IDE
|
|
.idea
|
|
.vscode
|
|
|
|
/src/generated/prisma
|