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.
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
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
- Node.js (LTS version recommended)
- npm or yarn package manager
- A NeonDB account
- Auth0 account and configuration
- Clone the repository:
git clone https://github.com/tanay-787/care-pin.git
cd care-pin- Install dependencies:
npm install
# or
yarn install-
Set up environment variables: Create a
.env.localfile in the root directory and add necessary environment variables. -
Run the development server:
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the application.
- 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
- Installable on mobile devices
- Offline functionality
- Push notifications support
- Native app-like experience
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
[Add your license information here]
Contributions, issues, and feature requests are welcome. Feel free to check issues page if you want to contribute.
- Tanay - Initial work - tanay-787
Built with ❤️ for healthcare workers