Skip to content

santosh1997/PlanGuru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Plan Guru

Repo to showcase my javascript skills

Hi !!

Things taken care primarily:

  1. Since it is typical booking application taken care of double spending issue (i.e: Deadlock scenarios where two different users booked for same appointment)

  2. Taken care there is no bottle neck which degrades the performance

  3. Made sure all are non blocking async calls

  4. Datetime ISO String is getting saved in DB to ensure that all the datetime values in disk are in UTC Timezone (It standardizes the datetime values stored)

Things that I enjoyed in the Challenge

  1. Timezone Handling (It is my first time handling between various timezones)

  2. Architecting the API with Global Error Handling and Seperation of Concerns

Things I learnt

  1. Node-Postgres Connection Pools and Clients
  2. UnhandledPromiseRejectionWarning

Things I could have done better

  1. Logging
  2. Proper Validations (Added most of the Validations, still few haven't validated)
  3. Better Authentication (Wrote a very basic authentication due to time constraint)
  4. UI

Technology

Stack

  1. React (With simple CSS)
  2. Express
  3. Postgres

Application Setup

API

  1. Scripts.sql provided in API should be executed in a Postgres Server
  2. Make required chaanges in .env file.
  3. npm install followed by nodemon

APP

  1. Make sure API is running
  2. npm install followed by npm start

Contact me anytime @

About

Repo to showcase my javascript skills

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published