Skip to content

tanay-787/care-pin

Repository files navigation

CarePin - Healthcare Worker Shift Management PWA

CarePin is a Progressive Web Application (PWA) designed to streamline shift management for healthcare workers. It provides an efficient way for healthcare organizations to track employee clock-ins and clock-outs with a modern, mobile-friendly interface.

🎯 Project Overview

CarePin was developed as a take-home assignment project for lief@healthcare company. It serves as a comprehensive solution for:

  • ⏰ Shift timing management
  • 📱 Cross-platform accessibility (mobile & web)
  • 🏥 Healthcare organization employee tracking
  • 📊 Attendance monitoring

🚀 Technology Stack

CarePin is built using modern web technologies:

  • Frontend:

    • Next.js 15 - Fullstack React framework for production
    • Ant Design v5 - UI component library
    • Serwist - Progressive Web App (PWA) capabilities
  • Backend:

    • GraphQL Yoga
    • Prisma ORM
    • NeonDB - Serverless Postgres database
  • Authentication:

    • Auth0 - Managed authentication service

🛠️ Getting Started

Prerequisites

  • Node.js (LTS version recommended)
  • npm or yarn package manager
  • A NeonDB account
  • Auth0 account and configuration

Installation

  1. Clone the repository:
git clone https://github.com/tanay-787/care-pin.git
cd care-pin
  1. Install dependencies:
npm install
# or
yarn install
  1. Set up environment variables: Create a .env.local file in the root directory and add necessary environment variables.

  2. Run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the application.

🌟 Features

  • Progressive Web App functionality
  • Responsive design for both mobile and desktop
  • Secure authentication with Auth0
  • Real-time shift tracking
  • User-friendly interface with Ant Design
  • GraphQL API integration
  • Persistent data storage with NeonDB

📱 PWA Features

  • Installable on mobile devices
  • Offline functionality
  • Push notifications support
  • Native app-like experience

💻 Development

The application uses Next.js app router and follows modern React patterns. Key directories:

  • /app - Application routes and pages
  • /components - Reusable React components
  • /graphql - GraphQL schemas and resolvers
  • /prisma - Database schema and migrations

📝 License

[Add your license information here]

🤝 Contributing

Contributions, issues, and feature requests are welcome. Feel free to check issues page if you want to contribute.

👥 Authors


Built with ❤️ for healthcare workers

About

CarePin is a Progressive Web Application (PWA) designed to streamline shift management for healthcare workers.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages