Skip to content

VinitKumar0510-sudo/github-buddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CBW App - Assignment Part 2

A Next.js application with database integration, Docker support, and comprehensive testing.

Features

  • 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

Setup

  1. Install dependencies:
npm install
  1. Set up environment variables:
cp .env.example .env
  1. Generate Prisma client:
npm run db:generate
  1. Start development server:
npm run dev

Docker

Run with Docker Compose:

docker-compose up --build

Testing

Run tests:

npm test

Database

The application supports both Prisma and Sequelize with MySQL backend. Toggle between them on the /prisma page.

API Endpoints

  • POST /api/git-command - Execute git commands
  • POST /api/save-command - Save commands to database
  • GET /api/commands - Retrieve saved commands

About

GitHubBuddy — a Next.js developer tool to configure Git, auto-generate READMEs, and manage repositories. Prisma/Sequelize · Docker · Playwright.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages