This application has been restructured to be deployed on Vercel. It uses Next.js with integrated API routes that replace the Python backend functionality.
-
lib/- Core algorithms converted from Python to JavaScriptdlx.js- Dancing Links algorithm implementationsudokuSolver.js- Sudoku solving/generation functions
-
pages/- Next.js pages and API routesindex.js- Main application page_app.js- Custom App componentapi/- Serverless API routessolve.js- Endpoint for solving Sudoku puzzlesvisualize.js- Endpoint for step-by-step solution visualizationvalidate.js- Endpoint for validating Sudoku gridsgenerate.js- Endpoint for generating puzzles
# Install dependencies
npm install
# Run development server
npm run dev
# Build for production
npm run buildThe development server will be available at http://localhost:3000.