Calendivity is an application that helps organize your daily priority schedule with recommendations for activities and challenges that will be given to make your day more productive.
- HapiJS
- Google OAuth
- Firestore Database
- Google Calendar API
- To listing the user calendar events
- Google Maps API
- To listing the places based on the nearest point from latitude and longitude
- Cloud Translation API
- To translate en to id from the response result of ML API
Follow this instruction to deploy the API on Cloud Run
- Create Google Cloud Platform project
- Enable Google Calendar API and Cloud Translation API
- Create API Key for Google Maps API
- Enable OAuth conset screen
- Create OAuth credential and save the credentials.json
- Create Service Account for Firestore and save the keys.json
- Clone this repository in Cloud Shell and open the cloned directory
- Create new .env file from .env.example and fill the variable with appropriate value from step 3 and 5
- Put the keys.json in the same directory as the project
- Important!: edit the .gitignore file and remove the keys.json and .env line
- Add permission to the deploy.sh file with
sudo chmod u+x deploy.sh - Run the deploy.sh with
./deploy.sh - Open the
[cloud-run-url]/docsfor the API documentation