Skip to content

Commit

Permalink
ESPD Demo as independent repository
Browse files Browse the repository at this point in the history
  • Loading branch information
dragos-eu authored Aug 13, 2024
1 parent a3a575c commit 17cf4ae
Showing 1 changed file with 53 additions and 4 deletions.
57 changes: 53 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,62 @@
# espd-demo
Javascript application demonstrating the usage of ESPD EDM

[![EUPL Licence](https://img.shields.io/badge/Licence-EUPL%20v1.2-blue.svg)](https://eupl.eu/1.2/en)
## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Licence](#licence)

# This repository was migrated to https://docs.ted.europa.eu/ESPD-EDM/ as 05.08.2024.
## Instalation
The code in this repository is intended to run on Github Pages or as PWA. If you want to test the code on your local machine, you can do the following steps:

Please visit the repository [ESPD-EDM](https://github.com/OP-TED/ESPD-EDM/tree/espd-demo) for latest version of ESPD Demo source code.
1. clone the repository on your machine
```
git clone git@github.com:OP-TED/espd-demo.git
cd espd-demo
```
For local webserver, [Fastify](https://fastify.dev/) was chosen. Any webserver that serves static files will do the job. You need to server the root folder. The prerequisites for **Fastify**: [NodeJS](https://nodejs.org/en/download/) and the framework itself:
```
npm install
```
Develop on local machine and you can test the results using a local webserver:
```
npm start
```
This should start the local webserver on port **3000**, you site is available at: [http://localhost:3000](http://localhost:3000)

## Usage

Go to the Github Pages site: [ESPD Demo](https://docs.ted.europa.eu/espd-demo/)

The site contains a couple of sections:

### Section 1. Distribution kit

**Export** menu allows to download the **Excel** files and the Code Lists as archive.
Here you can find your **Excel** files:
- for Code Lists
- for ESPD Model and ESPD Data Structure

### Section 2. Code Lists

**Lists** allows you to view Code Lists and all elements details.

### Section 3. UUID eCERTIS - ESPD integraton

**UUID** sections allows to explore the UUIDs for Exclusion Grounds and Selection Criteria. You can check the eCERTIS correspondence. Those UUIDs are the integration point between ESPD and eCERITS.

### Section 4. ESPD model visualiation

In order to model and better visualize the ESPD model we propose to use a UI visualitsation to get direct representation of what the model will look like on a web page.

We provide a basic behaviour demonstration of the rules behind each building block.

### Section 5. ESPD Request-Response examples generator

We provide a JavaScript online implementation of the ESPD Request and Response example generator that will allow Member States to have a playground for testing latest ESPD versions. Member States will be able to generate specific examples and test the ESPD before implementation.

This is provided only for demonstrative purpouse and it is not an actual service. The Member States must use the officially implemented and agreed ESPD services for their corresponding country.

## Licence

The project is developed and distributed under EUROPEAN UNION PUBLIC LICENCE v. 1.2.
The project is developed and distributed under EUROPEAN UNION PUBLIC LICENCE v. 1.2.

0 comments on commit 17cf4ae

Please sign in to comment.