Giter Site home page Giter Site logo

vinayaktekade / appointment-booking Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 4.0 10.93 MB

This is an web application made a part of a module to make appointment booking between people a lot easier. The usual process is to exchange mails between people till they find a convenient time. But this application can skip this process and book appointment by displaying available slots to users.

Home Page: https://dr-john-appointment-booking.herokuapp.com/

HTML 12.23% CSS 0.09% JavaScript 87.67%
appointment-booking

appointment-booking's Introduction

Dr John Appointment-Booking


Table of Contents
  1. About the Project
  2. Built with
  3. Getting started
  4. Prerequisites
  5. Project structure
  6. List of APIs
  7. Contribute

About The Project

This is an web application made a part of a module to make appointment booking between people a lot easier. The usual process is to exchange mails between people till they find a convenient time. But this application can skip this process and book appointment by displaying available slots to users.

Built With

This web application uses the following technology

Getting Started

To preview this application online click here https://dr-john-appointment-booking.herokuapp.com/

To run this application locally 2. Clone the repo

git clone https://github.com/VinayakTekade/Appointment-Booking
  1. Install NPM packages in client directory and server directory
    cd client
    npm install
    cd ../server
    npm install
  2. Create a firebase firestore database with collection name event
  3. Add your firebase service account API key in server/serviceAccountKey.json

Prerequisites

You need to have the following Prerequisite to get started

  • NodeJS
  • Firebase Account

Project Structure

Folder Path Description
client This directory contains all the files needed for Client Side Rendering.
client/public This directory contains all static content for the web app
client/src This directory contains all the dynamic content for the web app
client/assets This directory contains CSS and images required for each component of the web app
client/components This directory contains all the components for each web page
client/timezones This file contains all the strings of timezone as per the latest IANA database
server This directory contains all the files needed for server side rendering
server/routes This directory contains all the files to routes to API Calls
server/staticConfig This file contains all the static configuration variables used throughout the backend

List of APIs

API Routes Parameters Description
/freeSlots Date, Timezone Return all the free slots available for a given date converted to whatever timezone we pass.
/createEvent DateTime, Duration All the data passed will create the event and store that into the firestore document, if the event already exists for that time you need to return status code 422 or else just store it and return with status 200.
/getEvents startDate, endDate Return all the events between given StartDate & EndDate

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

appointment-booking's People

Contributors

dependabot[bot] avatar vinayaktekade avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.