Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 1.17 KB

README.md

File metadata and controls

44 lines (37 loc) · 1.17 KB

Calendar

This is calendar App that user can create event and sync with google calendar.

Archiecture

Application uses MicroServices Archiecture for solution. It consists of 2 services

  • Backend
  • Frontend

Backend

It consist of python flask server running at port 5000. Services exposes all api needed by the backend to frontend service.

Frontend

It consist of nodejs server running at port 3000. This service server all the html page. Service is Designed in SPA using ReactJS.

Database

Sqlite is used as database for the application. Intilize the database:

cd /Path/to/backend
python app.py db upgrade

Installation

Backend

cd /Path/to/Calendar/backend
pip install -r requirements.txt
python app.py runserver

Frontend

cd /Path/to/Calendar/frontend
npm install
npm start

Docker-Compose

Running application using docker container.

cd /Path/to/Calendar
docker-compose up

Syncing

In all calendar event there is a field called sync. by default it is false, meaning need to sync with Google Calendar. Durning sync all event in google calendar get inputed to database with sync as true. So only one copy of event is create on both sides.