Skip to content

jeremlll/REDMANE_react.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Commons

Overview

Data Commons is a web application built using React, designed to manage datasets, projects, and patient information.

Features

  • Authentication: Users can log in and log out. Unauthorized access to specific routes is prevented.
  • Dataset Management: Manage datasets with options to view all datasets or a single dataset.
  • Patient Management: View and manage patient information.
  • Project Management: View all projects or a single project, with a dashboard overview.
  • Responsive Design: The application is designed to be responsive, providing a good user experience across different devices.

Project Structure

The project is structured into several directories:

data-commons/
│
├── public/                # Public assets like images, fonts, etc.
├── src/                   # Source code for the project
│   ├── actions/           # Redux action creators
│   │   └── authActions.js # Actions related to authentication
│   ├── assets/            # Assets like images and logos
│   │   └── logos/         # Logos used in the application
│   ├── components/        # Reusable components
│   │   ├── Dashboard/     # Components related to the dashboard
│   │   ├── Dataset/       # Components related to datasets
│   │   ├── Patient/       # Components related to patients
│   │   ├── Project/       # Components related to projects
│   │   ├── Footer.jsx     # Footer component
│   │   ├── Home.jsx       # Home component
│   │   ├── LogOutButton.jsx # Log Out button component
│   │   └── ProtectedRoute.jsx # Component to protect routes based on authentication
│   ├── pages/             # Page components, categorized by functionality
│   │   ├── DatasetPage/   # Pages related to datasets
│   │   ├── PatientPage/   # Pages related to patients
│   │   └── ProjectPage/   # Pages related to projects
│   ├── reducers/          # Redux reducers to manage state
│   ├── App.jsx            # Main application component
│   ├── index.css          # Global styles
│   ├── index.js           # Entry point for React
│   ├── main.js            # Main entry point for Vite
│   ├── store.js           # Redux store configuration
├── .gitignore             # Git ignore file
├── package.json           # Project metadata and dependencies
├── vite.config.js         # Vite configuration file
└── README.md              # Project documentation

Installation

Prerequisites

  • Node.js: Ensure you have Node.js installed (v14 or later).

Setup Instructions

  1. Clone the repository:

    git clone https://github.com/HxLu03/DataCommons.git
    cd data-commons
  2. Install dependencies:

    Using npm:

    npm install
  3. Start the development server:

    Using npm:

    npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors