Skip to content

Latest commit

 

History

History
61 lines (39 loc) · 1.53 KB

README.md

File metadata and controls

61 lines (39 loc) · 1.53 KB

Calendar App

Calendar application to organize meetings and schedule your plan. Application allow to synchronize plans with Google Calendar

Technology used

  • SpringBoot v2.1.2
  • SpringSecurity - JWT
  • AWS ElasticBeanStalk
  • AWS DynamoDB (NOSQL database)
  • AWS CodePipeline (AWS CodeCommit, AWS CodeBuild)
  • React
  • Google Calendar API

Preview

Main Page

main_view

Sign in page

signin

Running

mvn clean -D package spring-boot:run

Runs the app in the development mode.
API is available under address http://localhost:5000

Response

Application returns Events from calendar in JSON format. Time of events is returned in unix timestamp string.

Authorization

All API requests require the use of a generated token.
You can generate API key, by navigating to the /api/auth endpoint.

The token need to be added for each request to each endpoint except /api/auth endpoint.

Token need to be placed in header of the request as follow: Authorization: "Bearer <TOKEN_VALUE>"

Response Status Codes

Calendar App returns the following status codes in its API:

Status Code Description
200 OK
201 CREATED
206 PARTIAL_CONTENT
400 BAD REQUEST
401 UNAUTHORIZED
404 NOT FOUND
500 INTERNAL SERVER ERROR