A modern, responsive website for Royal Taste Food Products showcasing authentic Kerala traditional food products.
- Product Catalog: Browse 27+ authentic Kerala food products
- Category Filtering: Filter by Puttupodi, Spices, Ready Mixes, Powders, Rava
- Availability Status: Clear indication of available vs coming soon products
- WhatsApp Ordering: Direct ordering via WhatsApp (919388051003)
- Contact Form: Integrated contact form with database storage
- Responsive Design: Mobile-first design with Tailwind CSS
- Frontend: React 19, TypeScript, Vite
- Styling: Tailwind CSS
- Backend: Hono.js (Vercel Functions)
- Database: Vercel Postgres
- Deployment: Vercel
-
Clone the repository
git clone https://github.com/prajithx24/Websitetesting.git cd Websitetesting -
Install dependencies
npm install
-
Set up environment variables Create a
.envfile with:POSTGRES_URL="your-vercel-postgres-url" POSTGRES_HOST="your-postgres-host" POSTGRES_DATABASE="your-database-name" POSTGRES_USERNAME="your-username" POSTGRES_PASSWORD="your-password" VITE_WHATSAPP_NUMBER="919388051003" NODE_ENV="production"
-
Run development server
npm run dev
- Vercel account
- Vercel Postgres database
-
Connect to Vercel
npx vercel
-
Set up Vercel Postgres
- Create a new Postgres database in Vercel dashboard
- Copy the connection string to environment variables
-
Configure Environment Variables In Vercel dashboard, add these environment variables:
POSTGRES_URLPOSTGRES_HOSTPOSTGRES_DATABASEPOSTGRES_USERNAMEPOSTGRES_PASSWORDVITE_WHATSAPP_NUMBER
-
Deploy
npx vercel --prod
royaltasteweb/
├── api/ # Vercel serverless functions
│ └── [...path].js # Main API handler
├── src/
│ └── react-app/ # React application
│ ├── components/ # Reusable components
│ ├── pages/ # Page components
│ ├── hooks/ # Custom hooks
│ └── contexts/ # React contexts
├── public/ # Static assets
├── vercel.json # Vercel configuration
└── package.json # Dependencies and scripts
- Puttupodi Collection (12 products)
- Spices (4 products)
- Ready Mixes (2 products)
- Powders (7 products)
- Rava (2 products)
- Phone: 919388051003
- Email: [email protected]
- Address: SREEBHADRA GROUP OF CONCERNS, 8/125A, SB COMPLEX, PALAKKAD MAIN ROAD, NEAR SREEKRISHNAPURAM POLICE STATION, THIRUVAZHIYODE PO, Palakkad, Kerala-679514
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLintnpm run vercel-build- Build for Vercel deployment
Proprietary - All rights reserved by Royal Taste Food Products
For support, contact:
- WhatsApp: 919388051003
- Email: [email protected]