Skip to content

EdiSincek/googleCalendarCrud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

googleCalendarCrud

Simple fullstack app for crud actions over google calendar
Node, React, Typescript, PostgreSql

BACKEND

  • Node Express server
  • Googleapis module
  • Controllers
    • googleOAuth controller - google oauth2 login endpoints
    • calendar controller - event fetching, creation, update & deletion endpoints
  • Services
    • authorization service - verifies jwt recieved from google
    • calendar service - google calendar interactions
    • database service - adding action logs to database
  • Middleware
    • auth middleware - authorizes user using token from request header

FRONTEND

DATABASE

  • PostgreSql db
  • action_logs table - stores actions performed on events
![db](https://github.com/EdiSincek/googleCalendarCrud/assets/87430076/6af3260a-b954-4637-9e15-612371d7ca02)


POTENTIAL IMPROVEMENTS

  • Handling multiple concurrent users
    • Storing user data and access and refresh tokens to database
    • Setting access token of correct user on each request to google to eliminate data fetching from other accounts
  • Handling token expiration
    • Checking if token is expired
    • Refreshing access token using refresh token
  • Frontend improvements
    • Showing logs to the user.
    • Caching events
    • UI/UX improvements
  • Better error handling

About

Simple app for crud actions over google calendar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published