A comprehensive web application for exploring Buddhist monasteries with virtual tours, audio guides, and interactive maps.
- Virtual Tours: Immersive 360Β° monastery experiences
- Audio Guides: Narrated tours for each monastery
- Interactive Maps: Explore monastery locations
- Calendar System: Browse monastery events and activities
- Archives: Historical documents and information
- User Authentication: Secure login and profile management
- Frontend: React Router v7, Vite, TailwindCSS
- Backend: Vercel Serverless Functions
- Database: Neon PostgreSQL
- Deployment: Vercel
- Authentication: @auth/core
monastery360/
βββ apps/
β βββ web/ # Main web application
β βββ src/ # Source code
β β βββ app/ # App routes and pages
β β βββ components/ # Reusable components
β β βββ context/ # React contexts
β β βββ utils/ # Utility functions
β βββ api/ # Serverless API functions
β βββ public/ # Static assets
β βββ package.json # Dependencies
βββ vercel.json # Vercel deployment config
- Node.js 18+
- npm or yarn
-
Clone the repository
git clone https://github.com/0xASR-dev/monastery360.git cd monastery360 -
Install dependencies
cd apps/web npm install -
Set up environment variables
cp .env.example .env # Edit .env with your database and auth credentials -
Start development server
npm run dev
-
Open browser
http://localhost:5173
The application is configured for automatic deployment on Vercel:
-
Connect to Vercel
- Connect your GitHub repository to Vercel
- Deploy from the root directory (vercel.json handles the monorepo setup)
-
Environment Variables Set the following environment variables in Vercel:
DATABASE_URL- Your Neon PostgreSQL connection stringAUTH_SECRET- Secret for authentication- Other auth provider credentials as needed
The application uses Neon PostgreSQL with the following main tables:
monasteries- Monastery informationusers- User accountsbookings- Event bookingsevents- Monastery eventsarchives- Historical documents
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License.
- Buddhist monasteries for their cultural heritage
- Contributors and maintainers
- Open source community