Skip to content

feat: Add complete Form Builder application with React frontend, Lara…#1

Open
NwaforChukwuebuka wants to merge 43 commits into
paxpass:mainfrom
NwaforChukwuebuka:feature/fullstack-form-builder-deployment
Open

feat: Add complete Form Builder application with React frontend, Lara…#1
NwaforChukwuebuka wants to merge 43 commits into
paxpass:mainfrom
NwaforChukwuebuka:feature/fullstack-form-builder-deployment

Conversation

@NwaforChukwuebuka

Copy link
Copy Markdown

…vel backend, and Railway deployment configuration

…vel backend, and Railway deployment configuration
@NwaforChukwuebuka

Copy link
Copy Markdown
Author

good

- Skip copying composer.lock during build to avoid JSON parse error
- Dockerfile now only copies composer.json before composer install
- This fixes the Railway deployment failure
- Created Console Kernel, HTTP Kernel, and Exception Handler
- Added 8 required middleware classes
- Created 3 service providers (App, Auth, Route)
- Added 11 configuration files (auth, cache, cors, database, etc.)
- Created console and web routes
- Created User model for authentication
- Optimized Dockerfile build process
- Fixed build order to ensure proper class autoloading
- Added deployment documentation

Resolves: Class 'App\Console\Kernel' does not exist error
- Remove corrupted composer.lock file
- Update Dockerfile to copy composer files first
- Use composer.lock* to handle missing lock file gracefully
- Add .gitignore for backend
- Let composer regenerate lock file during build

Fixes: './composer.lock' does not contain valid JSON error
Add missing use statement for Illuminate\Support\Facades\Facade
- Changed railway.json to use DOCKERFILE builder instead of NIXPACKS
- Removed conflicting startCommand (npx serve)
- Updated nginx.conf to use $PORT variable from Railway
- Modified Dockerfile to substitute PORT at runtime using envsubst
- Added gettext package for envsubst support

Fixes: 'The executable npx could not be found' error
- Add docker-entrypoint.sh to ensure storage directories have proper permissions at runtime
- Update Dockerfile to use entrypoint script
- Add comprehensive Railway troubleshooting documentation
- Add test script to verify backend connectivity
- Add docker-entrypoint.sh to ensure storage directories have proper permissions at runtime
- Update Dockerfile to use entrypoint script
- Add sensitive docs to .gitignore
- Redesigned Field component with inline editing capabilities
- Added visual form previews for all field types
- Implemented drag-to-reorder functionality within groups
- Improved UI layout with single canvas design
- Enhanced visual feedback and smooth transitions
- Cleaned up root directory and removed temporary files
- Updated README with live deployment URL (https://formx.up.railway.app/)
- Added comprehensive features description
- Added border to form title input for better visibility
- Redesigned empty state card with larger size and prominent styling
- Increased card width to 800px with enhanced shadows and borders
- Improved visual hierarchy with larger icon and text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant