Giter Site home page Giter Site logo

clone-google-calendar's Introduction

Google Calendar Clone Project

  • 해당 프로젝트는 Google의 google calendar를 클론한 프로젝트입니다.

  • 기본 스택은 server side 없이 reduxnext.js로 설계하였습니다. (css는 tailwind.css)

  • Notion link : 링크

  • Route 53에서 구매한 도메인 link : 링크

프로젝트 정보

1. 실행

  • yarn run dev 명령어를 통해 실행

2. 페이지 구성

  • Login

    login

    • 소셜 로그인을 구성했지만, 사기 사이트 위험때문에 임시 삭제 해놓은 상태입니다.
    • 현재는 default user의 정보(Tom, Steve, Pery, Bucky)로 로그인하게 되어있습니다.
  • main

    • 기본 Google Calendar의 ui/ux를 그대로 clone해본 메인페이지입니다.
    • Year, Month, Week, Day view를 구성 예정인 상태이고, 현재는 Year, Month view만 구성되어있는 상태입니다.

    yearView

    year view

    monthView

    month view

3. 기능

  • 일정 추가

  • Year view

  • Month view

4. redux 구조

redux는 모두 hash map 구조로, key를 통해 해당 key의 value들을 참조할 수 있는 방식으로 구현하였습니다.

Event

Event (object) : {
	[event_uuid]: {
		title (string)
		period (object) : {
			start (timestamp)
			end (timestamp)
		}
		type (string) : "default", "allDay"
		participants (object) : {
			[user_uuid] : {
				uuid (string) : [user_uuid],
				status (string) : "accept", "reject", "waiting"
				isRequired (boolean)
			},
		}
		description (string)
		host (object) : {
			uuid (string)
			calendar (string)
		}
		color (string) : "red", "pink", "yellow", "blue", "green", "purple", "gray"
		repeat (object) : {
			type (string) : "none", "repeat",
			day (array) : "monday", "tuesday", ...,
			end (timestamp - format)
			rejected (object): {
				uuid: (string) : {
					type (string) : "day", "afterAll",
					user (string)
					date (timestamp - format)
				}
			}
			deleted (object) : {
				uuid : {
					date (timestamp - format)
					type (string) : "day", "afterAll"
				}
			}
		}
		isDeleted (boolean)
		authority (array) : ["edit", "invite", "view"]
		created (timestamp)
		deleted (timestamp)
	}
}

User

User (object) : {
	[user_uuid] : {
		name (string),
		email (string),
		myCalendar (object) : {
			calendar_uuid : {
				name : calendar_name,
				color : "red",
				isChecked : true,
			},
		},
		Event (object : for custom) : {
			[event_uuid] : {
				title (string),
				description (string),
				color (string),
				isDeleted (boolean)
				rejected (object) : {
					uuid : {
						date (timestamp - format)
						type (string) : "day", "afterAll"
					}
				}
			}
		},
	},
}

Setting

Setting ( object ) {
	isToggled (boolean)
	profileModal (boolean)
	viewModal (boolean)
	viewType (string) : "yearView", "monthView", "weekView", "dayView"
	fontColor (string) : "black", "white"
	option (array) : ['weekend', 'rejected']
	participant (array) : [user_uuid]
	focusDate (timestamp)
	leftbarDate (timestamp)
}

5. 추가 예정 기능 (Demo 2)

  • 일정 반복 기능

clone-google-calendar's People

Contributors

jeeseongmin avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

clone-google-calendar's Issues

page

login
image

year view
image

month view
image

photo

dog1
Tom - dog1

dog2
Steve - dog2

giraffe
Pery - giraffe

elephant
Bucky - elephant

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.