Skip to content

gom-3/dutying-web

Repository files navigation

image

Introduce

This service provides an easy and convenient work schedule creation environment for head nurses who felt inconvenience due to the existing difficult work schedule creation process, and by synchronizing the created work schedules, it eliminates the hassle of registering and checking cumbersome shift work.

Platform

We provide a web service for head nurses and a mobile app for general nurses, solving their respective issues. By linking these two platforms into a single service, we eliminate inefficient tasks that previously occurred offline.

Web (this repo)

Our web service provides head nurses with guidance based on scheduling constraints and a work schedule auto-completion feature, reducing the time and difficulty involved in creating work schedules.

Mobile

General nurses can directly check the synchronized work schedules through the mobile app and even apply for leave. They can easily find out who they will be working with and who the shift handover will be from, without having to search through the entire Excel sheet. They can selectively sync with all calendars stored on the device, allowing them to manage all schedules through a single app.

Tech Stack

  • Core : React, TypesScript, Vite
  • State Management : Tanstack-Query, Zustand
  • Styling : Tailwind CSS
  • Package Manager : PNPM
  • Test : Vitest, Jest, Cypress
  • CI/CD : GitHub Actions, Vercel
  • Analytics : Google Ananytics, Airbridge

Vite

Despite the powerful framework that Next.js is, we chose Vite for our project because we needed to develop quickly within a set timeframe. The fast Hot Module Replacement (HMR) provided by Vite accelerated our development process. Additionally, our project primarily required developing interactive user experiences on the client-side, making Vite a more suitable choice for our needs.

Running Tests

Unit Tests

$ pnpm run test

End-to-End Tests

Cypress is used for end-to-end testing

$ pnpm run e2e

Continuous Integration

Automatic Testing

Upon every push and pull request to the develop branch, our GitHub Actions workflow automatically initiates a series of tests.

Automatic Deployment

After passing all automated tests, the changes are automatically deployed to Vercel, ensuring that our application is always up-to-date with the latest verified builds. This step not only streamlines our deployment process but also guarantees that only thoroughly tested builds are deployed to production.

image

Documentaion

Lisence

Apache License 2.0