A modern, responsive web application for exploring the Bhagavad Gita, built with SvelteKit and styled with Tailwind CSS.
frontend/
āāā src/
ā āāā lib/
ā ā āāā assets/ # Static assets (images, icons)
ā ā āāā components/ # Reusable Svelte components
ā ā āāā index.js # Library exports
ā āāā routes/
ā ā āāā api/
ā ā ā āāā gita/[chapter]/+server.js # API endpoint for chapter data
ā ā āāā gita/
ā ā ā āāā +page.svelte # Chapters overview page
ā ā ā āāā [chapter]/+page.svelte # Individual chapter page
ā ā āāā login/+page.svelte # User login
ā ā āāā register/+page.svelte # User registration
ā ā āāā dashboard/+page.svelte # User dashboard
ā ā āāā contact/+page.svelte # Contact page
ā ā āāā admin/+page.svelte # Admin panel
ā āāā app.css # Global styles and Tailwind imports
ā āāā app.d.ts # TypeScript declarations
ā āāā app.html # Main HTML template
āāā static/ # Static files (favicon, robots.txt)
āāā package.json # Dependencies and scripts
āāā svelte.config.js # SvelteKit configuration
āāā vite.config.js # Vite build configuration
āāā jsconfig.json # JavaScript/TypeScript config
āāā tailwind.config.js # Tailwind CSS configuration
The application integrates with external APIs for Bhagavad Gita content:
https://sanskrit.ie/api/geeta.php - Provides chapter and verse data/api/gita/[chapter] - Internal API route that proxies requests to the external APIgit clone <repository-url>
cd vows-vibe-work-svelte
cd frontend
npm install
npm run dev
http://localhost:5173The application will automatically reload when you make changes to the code.
npm run dev - Start development servernpm run build - Build for productionnpm run preview - Preview production buildnpm run check - Type checking and lintingnpm run check:watch - Watch mode for type checkingnpm run format - Format code with Prettiernpm run lint - Run ESLint and Prettier checksgit checkout -b feature/your-feature-namenpm run checknpm run formatgit commit -am 'Add some feature'git push origin feature/your-feature-name