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