This version of Miti is an open source progressive web app that allows you to view and sync events with Google Calendar. Check live version of this application at https://miti.bikram.io.
Install Deta Space CLI
For mac os
curl -fsSL https://get.deta.dev/space-cli.sh | sh
For windows
iwr https://deta.space/assets/space-cli.ps1 -useb | iex
For linux
curl -fsSL https://deta.space/assets/space-cli.sh | sh
Fork the repository and clone it to your local machine
git clone https://github.com/<your username>/Nepali-calendar-web.git
Login to Deta Space
- Sign up for a free account at https://deta.space (enable developer mode)
- Skip onboarding
- Search for settings on the search bar at the buttom
- Create access token
- Paste the access token on the terminal after running the following command
space login
Create a new space
space new
Install dependencies for both backend and frontend
pnpm install
Note: You need to use pnpm for package management. You can install pnpm by running npm install -g pnpm
Run on dev mode
space dev
If you are getting issues related to nodemon not being installed, you can install it globally by running npm install -g nodemon
To run this project, you will need to add the following environment variables to your .env file
GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET
To set environment variable on local you can pass it as a command line argument
GOOGLE_CLIENT_ID=your_client_id GOOGLE_CLIENT_SECRET=your_client_secret space dev
$env:GOOGLE_CLIENT_ID="your_client_id"
$env:GOOGLE_CLIENT_SECRET="your_client_secret"
space dev
For more information on how to get GOOGLE_CLIENT_ID
and GOOGLE_CLIENT_SECRET
check this out. You need to enable calendar api and create credentials to get these values.
If you are having issues with this part, you can contact the team at our Discord Server.