Skip to content

GenomicDataInfrastructure/gdi-userportal-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REUSE status example workflow example workflow example workflow Quality Gate Status GitHub contributors Contributor Covenant

GDI User Portal Front-end

The GDI User Portal Front-end is a crucial component of the Genomic Data Infrastructure (GDI) project, which aims to facilitate access to genomic, phenotypic, and clinical data across Europe. The GDI project is committed to establishing a federated, sustainable, and secure infrastructure to enable seamless data access. Leveraging the outcomes of the Beyond 1 Million Genomes (B1MG) project, the GDI project is actively realizing the ambitious goals set forth by the 1+Million Genomes (1+MG) initiative.

The GDI User Portal Front-end serves as the user-friendly interface for this initiative, utilizing Angular CLI version 16.2.3. This frontend application plays a crucial role in enhancing user experience and ensuring efficient interaction with the genomic data infrastructure.

Installation

Locally

Before using the GDI User Portal Front-end, make sure you have the required dependencies installed. Follow the installation instructions below:

npm install

You also have to create a new .env.local file in the root directory, and copy the content of .env.local.example into the new file. Feel free to modify the environment variables as you wish.

Using Docker

Alternatively, you can run the docker-compose file that provides a running instance of the application. Use the following command to run docker-compose:

docker compose up or docker-compose up depending on your docker compose version.

Development server

Run npm run dev for a dev server. Navigate to http://localhost:3000/. The application will automatically reload if you change any of the source files.

Modifying Open API Specifications

In case of changes in the OpenAPI specifications, you must upgrade the client and schemas by running npm run prebuild:service where service is either discovery or access-management. The schemas will be automatically generated in src/app/api/{service}/open-api/schemas.ts.

Additionally, you must export all the types defined in schemas.ts (can not be done automatically).

Build

Run npm run build to build the project. The build artifacts will be stored in the .next/ directory.

Running unit tests

TODO

Running end-to-end tests

TODO

Further help

To get more help on Next JS, go check out the Next JS API Reference page.

Frontend Customization

For detailed information on how to customize the GDI User Portal Front-end, including environment variables and additional customization options, please refer to the Frontend Customization Documentation.

License

  • All original source code is licensed under Apache-2.0.
  • All documentation is licensed under CC-BY-4.0.
  • All the fonts are licensed under OFL-1.1.
  • Some configuration and data files are licensed under CC-BY-4.0.
  • For more accurate information, check the individual files.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 19

Languages