Skip to content

Add complete request page with PostgreSQL integration#1

Open
muhammedatef98 wants to merge 1 commit intoFixiateED:mainfrom
muhammedatef98:main
Open

Add complete request page with PostgreSQL integration#1
muhammedatef98 wants to merge 1 commit intoFixiateED:mainfrom
muhammedatef98:main

Conversation

@muhammedatef98
Copy link

  • Add multi-step request form (pages/request.js)
  • Add PostgreSQL database connection (lib/db.js)
  • Add API endpoint for submitting requests (pages/api/submit-request.js)
  • Add database schema (database/repair_requests.sql)
  • Update package.json to use pg instead of supabase
  • Add comprehensive documentation (REQUEST_PAGE_README.md)
  • Add .env.example for environment variables

Features:

  • 3-step form: device info, contact info, confirmation
  • Support for 6 brands: Apple, Samsung, Huawei, Dell, HP, Lenovo
  • Form validation with Arabic error messages
  • Direct PostgreSQL integration with Neon database
  • Responsive design with RTL support

- Add multi-step request form (pages/request.js)
- Add PostgreSQL database connection (lib/db.js)
- Add API endpoint for submitting requests (pages/api/submit-request.js)
- Add database schema (database/repair_requests.sql)
- Update package.json to use pg instead of supabase
- Add comprehensive documentation (REQUEST_PAGE_README.md)
- Add .env.example for environment variables

Features:
- 3-step form: device info, contact info, confirmation
- Support for 6 brands: Apple, Samsung, Huawei, Dell, HP, Lenovo
- Form validation with Arabic error messages
- Direct PostgreSQL integration with Neon database
- Responsive design with RTL support
@vercel
Copy link

vercel bot commented Nov 27, 2025

@muhammedatef98 is attempting to deploy a commit to the Debra Denise's projects Team on Vercel.

A member of the Team first needs to authorize it.

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