Git Product home page Git Product logo

calendapp's Introduction

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

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.