This is a Next.js project bootstrapped with create-next-app.
npm run iCopy paste the .env.example file and rename it to .env and update it with the values supplied by your EM. The DATABASE_URL expects a MongoDB connection string (for example, an Atlas mongodb URL). This project now uses Mongoose for data access, so no Prisma commands are required.
npm run devThis project uses ESLint and Prettier to ensure code quality and consistent formatting.
To manually check for linting errors, run:
npm run lint-checkTo automatically fix linting errors, run
npm run lint-fixTo format your code with Prettier, run
npx prettier --write .On commit, linting checks are automatically run to ensure code quality. Fix any errors manually or using the above commands, then stage those changes to proceed.
On push, a secret scan is triggered to ensure no sensitive data is accidentally pushed.
To run Playwright tests, run
npm run testThis project is deployed via Vercel. The demo page can be found at '/demo'.
Any changes to the 'main' branch will trigger Playwright tests and auto-deployment to Vercel.
Branching + PR Guidelines (Work in Progress)
Link to Documentation (Work in Progress)