Skip to content

Co-work project of a clone of Calendly. React + Flask

Notifications You must be signed in to change notification settings

JoshL579/CalendApp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CalendApp

Contributors

Tony Fang & Josh Liu

About

A clone of Calendly whitch allow the logged in user set availabilities and unique links for different event types, and allow the other users book appointments with the unique links.

Stacks/Technologies

  • Front-End: ReactJs, Material UI, React Calendar
  • Back-End: Flask, PostgreSQL
  • Sevices: Oauth, Google Calendar, Stripe, SendGrid

Online Demo

Features

Login

login

Sign Up

signup signup

Oauth

oauth

Log Out

oauth

On Boarding

  • Allow users to set profiles (unique url, timezone) and available dates & times

oauth

Create Event Type

create_event

Up Grade Account

  • Subscribe with Stripe, remain all step in origin site (never redirect to Stripe)

upgrade

Book Appointment

  • Fully connected with Google Calendar for displaying free times and create events.
  • Calendar only show user available dates and times.
  • Notification email will be sent once appointment is booked.

book_meeting

Appointments

delete_meeting

Create Event Type

create_event

Installation

  • Install dependncies:

    yarn install

    pipenv install

  • Additional Requirement:

    client_secrets.json under /server/util/auth/ from Google with following:

    {
        "web": {
            "client_id": <Google Client ID>,
            "project_id": <Google Project ID>,
            "auth_uri": "https://accounts.google.com/o/oauth2/auth",
            "token_uri": "https://oauth2.googleapis.com/token",
            "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
            "client_secret": <Google Client Secret>,
            "redirect_uris": [
                <Google Redirect Urls>
            ],
            "javascript_origins": [
                <Google Accept Origin Urls>
            ]
        }
    }

    .evn under root / with following:

     FLASK_ENV="development", 
     SQLALCHEMY_DATABASE_URI=<DataBase URI for SQLAlchemy>, 
     STRIPE_API_KEY=<Stripe api key>, 
     GOOGLE_CLIENT_ID=<Google Client ID>, 
     GOOGLE_CLIENT_SECRET=<Google Client Secret>, 
     GOOGLE_TOKEN_URL="https://oauth2.googleapis.com/token", 
     GOOGLE_API_KEY=<Google API key>
     GOOGLE_REDIRECT_URL=<Google Redirect Urls>
    
  • Environmnet:

    Python 3.7

    node v14.16.0

Usage

  • Front-End:

    in /client

    yarn start

    • Running on localhost:3000
  • Back-End:

    in /server

    flask run

    • Running on localhost:5000
  • DataBase:

    in /server

    flask db migrate

    flask db upgrade

About

Co-work project of a clone of Calendly. React + Flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 75.3%
  • Python 23.3%
  • Other 1.4%