A Next.js application with database integration, Docker support, and comprehensive testing.
- Database Integration: Toggle between Prisma and Sequelize ORMs
- CRUD Operations: Save and retrieve git commands from database
- Docker Support: Full containerization with docker-compose
- Testing: Automated tests with Playwright
- Cloud Ready: Prepared for AWS deployment
- Install dependencies:
npm install- Set up environment variables:
cp .env.example .env- Generate Prisma client:
npm run db:generate- Start development server:
npm run devRun with Docker Compose:
docker-compose up --buildRun tests:
npm testThe application supports both Prisma and Sequelize with MySQL backend. Toggle between them on the /prisma page.
POST /api/git-command- Execute git commandsPOST /api/save-command- Save commands to databaseGET /api/commands- Retrieve saved commands