Skip to content

Dcerverizzo/heartFoundation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Health Department Service Management System

This project is a React.js application designed for managing service orders (OS) in a hospital's health department. It provides functionalities to create, analyze, and retrieve service orders efficiently.

Table of Contents

Overview

The Health Department Service Management System is a web application developed using React.js and Express.js. It enables hospital staff to create new service orders, retrieve existing orders, and analyze service-related information.

Features

  • User Authentication: Secure user authentication system for accessing the system.
  • Create Service Orders: Create new service orders to manage health-related services.
  • Retrieve Service Orders: Retrieve existing service orders for analysis and record-keeping.

Installation

  1. Clone the repository:

    bashCopy code

    git clone https://github.com/yourusername/health-department-service-management.git cd health-department-service-management

  2. Install dependencies:

    bashCopy code

    npm install

  3. Run the application:

    bashCopy code

    npm start

    The application will be accessible at http://localhost:3000.

Usage

  1. Access the application at http://localhost:3000.
  2. Create an account or log in if you already have one.
  3. Use the provided features to create, analyze, and retrieve service orders.

Project Structure

The project structure is organized for maintainability and scalability. The key directories are:

  • src: Contains the React.js source code.
  • server: Contains the Express.js server code.

Routes

The application's routes are defined in the server/routes.js file. Below are the main routes:

  • POST /sessions: User authentication route.
  • POST /os: Create a new service order.
  • GET /os: Retrieve a specific service order.
  • GET /getos: Retrieve all service orders.

Controllers

Controllers handle the logic for each route. The controllers are located in the server/controllers directory:

  • SessionController: Manages user authentication.
  • OrderServicesController: Manages service order creation and retrieval.

Contributing

Contributions to the project are welcome. Fork the project, make your changes, and submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published