🟡 In progress ️🛠️
- Execute the commands bellow:
git clone https://github.com/kaio-giovanni/gcalendar-maker
cd gcalendar-maker
gradle clean build
-
Create or configure an google cloud project
-
Active the Google Calendar API and get access credentials
-
Create an
.env
file in the project root and enter your credentials based on the.env.example
file.
- Execute the command bellow:
gradle bootRun
-
Access the endpoint
/google-register
and allow the application to access your google calendar. -
Access the endpoint
/user/calendar
passing your userId, startDate and endDate (format: yyyy-mm-ddThh:mm:ss).
Ex:
- To run all tests, execute the command bellow:
gradle test
- To run a specific test, execute the command bellow:
gradle test --tests SomeSpecificTest
- To run tests with debug mode, execute the command bellow:
DEBUG=true gradle test