Skip to content

CHUV-PCL/Nof1Companion-frontend

Repository files navigation

Next.js logo

N-of-1 Companion - Frontend

Description

N-of-1 Companion is a web application designed to facilitate the conduct of N-of-1 therapeutic tests. It allows you to design and manage your tests, collect patient data, perform statistical analysis and many other features.

This tool is offered by the Clinical Pharmacology Department of the University Hospital of Vaud (PCL - CHUV, Switzerland). With the collaboration of the School of Engineering and Management Vaud (HEIG-VD).


This is the frontend part of the N-of-1 Companion web application.

Build with:

The backend part of the application can be found here.

Prerequisites

Please ensure that the following items are installed on your operating system :

Important : Install the backend part of the application.

Create a .env file if not present and configure the following environment variables :

# Backend API URL
NEXT_PUBLIC_BACKEND_API_URL=http://your_backend_application_url # /!\ without a trailing /
# Application URL, used to send a link to an application page by email
NEXT_PUBLIC_APP_URL=https://nof1-app.vercel.app/ # /!\ without a trailing /

Installation

Clone the repository and install the project dependencies using the following command in the project root folder:

$ yarn install

Running the app

Commands:

# development mode
$ yarn dev

# production mode
$ yarn build
$ yarn start

Default url : http://localhost:3000/ (or port :process.env.PORT)

Maintenance

There is no guarantee that the project will be further developed. But you are welcome to fork the project.

Contributors

Initially developed as a Bachelor study project at the HEIG-VD, then taken over as a Junior Software Engineer.

License

Distributed under the GNU AGPLv3 license. See LICENSE for more information.

About

N-of-1 Companion is a web application designed to facilitate the conduct of N-of-1 therapeutic tests.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages