Skip to content

A full-stack freelance project built for one of my clients using NextJS 14 with its latest features (app router, server actions, etc.), TypeScript, Next-Auth, PostgreSQL database hosted with Neon, Drizzle ORM, Zod, ShadCn UI, and Tailwind CSS. The project consists of a landing page, a booking system, and an admin dashboard for managing bookings.

License

pjborowiecki/ARKA-Veterinary-Clinic-Page-and-Appointment-Booking-System

Repository files navigation

ARKA Veterinary Clinit Landing Page with Appointment Booking and Management System

Description

Warning This project is still under active development.


This project is a re-build of a website I receintly built with Remix and MongoDB Atlas for one of my clients in Poland. I decided to re-build it with the latest and greatest in tech for my own learning purposes.

The client wanted a simple website with a contact form and a full booking management system, where he would be able to confirm or reject bookings and notify the client via email. The website is hosted on Vercel.

Rather than Remix and MongoDb, like in the original build, this version version relies on the latest version of Next.js and its features, such as server actions. It also takes advantage of serverless PostgreSQL database connection, using Neon and Drizzle ORM. Contact form and transactional emails are implemented using Resend and ReactEmail


Usage instructions:

To safeguard against the creation of test bookings in the live environment, which may interfere with my client's actual appointments, I have implemented a dedicated demo environment for you to explore the functionality of this website and accompanying booking system. To access the demo, go TODO: UPDATE THIS LINK to use the following credentials:

Feel free to navigate the platform, and test various features, including booking management. Please note that any actions performed in this demo environment are for testing purposes only and will not impact the actual database or real bookings.

As access is provided to the wider internet, I would like to emphasize that I do not assume responsibility for any content or actions initiated by other users during testing. This includes, but is not limited to, bookings with inappropriate messages or any other unintended use of the platform. I appreciate your understanding and encourage responsible exploration of this demo environment. If you have any concerns or questions, please feel free to contact me.


public/images/screenshots/screenshot_1

public/images/screenshots/screenshot_2

public/images/screenshots/screenshot_3

public/images/screenshots/screenshot_4

public/images/screenshots/screenshot_5

public/images/screenshots/screenshot_6


Tech Stack


Features:

  • Email and Password authentication with NextAuth v.5 and its middlewaree
  • Email address verification functionality
  • Database and ORM set up with Neon's PostgreSQLL and DrizzleORM
  • Password reset functionality
  • Email templates with React Email
  • Functional contact form
  • Functional and styled landing page
  • Admin dashboard UI
  • Input validation with Zod
  • Rigorous linting and TypeScript type checking

  • Implement mobile navigation (ladning and admin)
  • Functional booking form
  • Refactor availability-, booking-, clinic-, user-, and email-related server actions, to be consistent with auth actions.
  • Complete the privacy policy page
  • Translate email templates to Polish
  • Fetch bookings in the admin panel
  • Server-side pagination of results in admin dashboard
  • CRUD operations for bookings in the admin dashboard (confirm, update, reject, delete)
  • Booking re-scheduling functionality
  • Transactional emails for customers and admin
  • Style the booking page
  • User profile and settings pages
  • Smooth scroll to sections
  • Scroll back up button
  • Custom loading pages with skeleton loaders
  • Custom error pages
  • Improve performance and make Edge compatible
  • Add tests

About

A full-stack freelance project built for one of my clients using NextJS 14 with its latest features (app router, server actions, etc.), TypeScript, Next-Auth, PostgreSQL database hosted with Neon, Drizzle ORM, Zod, ShadCn UI, and Tailwind CSS. The project consists of a landing page, a booking system, and an admin dashboard for managing bookings.

Topics

Resources

License

Stars

Watchers

Forks

Languages