Git Product home page Git Product logo

appointments-system's Introduction

Appointments System

An appointments system with a frontend, a backend and a database.

  • The frontend uses HTML 5, Bootstap 5 and Javascript.
  • The backend uses Fiber (Go framework) and JWT for authentication.
  • The DB is Postgres.

Run it with Docker Compose

A .env file with user and password credentials (SENDER_EMAIL and SENDER_PASSWORD in docker-compose.yaml) is required to send notification emails.

docker compose up -d

ERD Diagram

arch_basic

Endpoints

Client Endpoints

  • GET /bookings (main page)
  • GET /booked (appointment booked page)
  • POST /bookings (book appointment)

API Endpoints

  • GET /api/calendar (get bootstrap-calendar data)
  • POST /api/attentionHours (update attention hours)
  • POST /api/appointments (update appointment)

Authentication Endpoints

  • GET /auth/login (login page)
  • POST /auth/login (login)
  • POST /auth/logout (logout)

Admin Endpoints

  • GET /admin/profile (profile page)
  • POST /admin/profile (update profile)
  • GET /admin/appointments (appointments page)
  • GET /admin/bookings (bookings page)
  • POST /admin/bookings (update booking)
  • GET /admin/appointmentTypes (appointment types page)
  • POST /admin/appointmentTypes (create appointment type)
  • POST /admin/appointmentTypes/:id (update appointment type)
  • GET /admin/clients (clients page)
  • POST /admin/clients (update client)
  • GET /admin/metrics (app metrics)

appointments-system's People

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.