1.0.10 • Published 8 months ago
enstack v1.0.10
Booking System Bootstrap
This package provides a simple way to bootstrap a new Encore booking system application.
Usage
npx enstackThis will prompt you for a project name and create a new directory with that name containing a fully functional booking system application.
What's Included
- Frontend: React application with Vite, TypeScript, and modern UI components
 - Booking Service: Complete booking management system with availability checking
 - User Service: Authentication and user management
 - Database: SQL migrations and queries for booking data
 - Encore Integration: Ready to deploy with Encore
 - Automatic Setup: Installs both frontend and Go dependencies
 
Development
To modify the template:
- Edit files in the 
templatedirectory - If you add any 
.gitignorefiles to the template, runnode scripts/rename-gitignore.jsto rename them togitignore.template - Test your changes by running 
node index.jsfrom the bootstrap directory - Publish to npm with 
./publish.sh 
Publishing
To publish a new version:
- Make sure all 
.gitignorefiles in the template are renamed togitignore.template(runnode scripts/rename-gitignore.js) - Run 
./publish.shto bump the version, prepare the package, and publish to npm 
Requirements
- Node.js 14 or higher
 - npm or yarn
 - pnpm (for frontend dependencies)
 - Go 1.18 or higher (for backend dependencies)
 - Encore CLI (for running the application)
 
Features
- React frontend with Vite (using pnpm for dependencies)
 - Booking service with availability management
 - User authentication
 - Automatic installation of Go dependencies
 - Ready to deploy with Encore