Skip to content

masoudcodes/cancerpatien

Repository files navigation

cancerpatien

The project was intended to be a web application for scheduling appointments. The Booking System is used in a medical setting, notably in cancer centres, where it serves as a communication link between the patient and the doctor. The project helps small- and medium-sized health institutions acquire a productive reservation system. The development team initially decided to expand into the health sector with a number of initiatives being suggested. The team decided on a Web-Based Health Appointment Booking System for cancer centres after further internal discussion and consultation with the team's supervisor. In order to bridge the gap between efficiency and prompt access to healthcare, appointment booking systems are essential to health systems (Gupta, 2008).

Getting Started

To get started with Cancerpatient, follow these steps:

  1. Clone the repository to your local machine using git clone https://github.com/masoudcodes/cancerpatien.git.

  2. Navigate to the project directory and run npm install to install all dependencies.

  3. Create a .env file in the root of the project directory and add the following environment variables:

    Demo demo@demail.com 7014500000 this is a demo test admin.com password=admin123 GOOGLE_ID= GOOGLE_SECRET= GITHUB_ID= GITHUB_SECRET= EMAIL_SERVER= EMAIL_FROM=user@gmail.com SECRET= S3_ACCESS_KEY= S3_SECRET_ACCESS_KEY= S3_BUCKET= NEXTAUTH_URL="http://localhost:3000/" STRIPE_SK= STRIPE_PK= PUBLIC_URL="http://localhost:3000/" MPESA_CONSUMER_KEY= MPESA_CONSUMER_SECRET= MPESA_PASS_KEY= MPESA_B2C_SECURITY_CREDENTIAL= MPESA_BUSINESS_SHORT_CODE=174379 MPESA_PARTYA= MPESA_PARTYB= MPESA_INITIATOR_NAME=testapi MPESA_ENVIRONMENT="sandbox | live"

  4. Run the project using the command npm run dev then head to http://localhost:3000.