|
1 | | -# Repository Template |
| 1 | +# Eligibility Signposting Specification |
2 | 2 |
|
3 | | -[](https://github.com/nhs-england-tools/repository-template/actions/workflows/cicd-1-pull-request.yaml) |
4 | | -[](https://sonarcloud.io/summary/new_code?id=repository-template) |
5 | | - |
6 | | -Start with an overview or a brief description of what the project is about and what it does. For example - |
7 | | - |
8 | | -Welcome to our repository template designed to streamline your project setup! This robust template provides a reliable starting point for your new projects, covering an essential tech stack and encouraging best practices in documenting. |
9 | | - |
10 | | -This repository template aims to foster a user-friendly development environment by ensuring that every included file is concise and adequately self-documented. By adhering to this standard, we can promote increased clarity and maintainability throughout your project's lifecycle. Bundled within this template are resources that pave the way for seamless repository creation. Currently supported technologies are: |
11 | | - |
12 | | -- Docker |
13 | | - |
14 | | -Make use of this repository template to expedite your project setup and enhance your productivity right from the get-go. Enjoy the advantage of having a well-structured, self-documented project that reduces overhead and increases focus on what truly matters - coding! |
| 3 | +This repository contains the OpenAPI specification and related tooling for the Eligibility Signposting API. |
15 | 4 |
|
16 | 5 | ## Table of Contents |
17 | 6 |
|
18 | | -- [Repository Template](#repository-template) |
| 7 | +- [Repository Template](#eligibility-signposting-specification) |
19 | 8 | - [Table of Contents](#table-of-contents) |
20 | | - - [Setup](#setup) |
| 9 | + - [Information](#information) |
21 | 10 | - [Prerequisites](#prerequisites) |
22 | 11 | - [Configuration](#configuration) |
23 | | - - [Usage](#usage) |
24 | | - - [Testing](#testing) |
25 | 12 | - [Sandbox](#sandbox) |
26 | 13 | - [Specification](#specification) |
27 | | - - [Design](#design) |
28 | | - - [Diagrams](#diagrams) |
29 | | - - [Modularity](#modularity) |
| 14 | + - [Deployment](#deployment) |
30 | 15 | - [Contributing](#contributing) |
31 | 16 | - [Contacts](#contacts) |
32 | 17 | - [Licence](#licence) |
33 | 18 |
|
34 | | -## Setup |
| 19 | +## Information |
35 | 20 |
|
36 | | -By including preferably a one-liner or if necessary a set of clear CLI instructions we improve user experience. This should be a frictionless installation process that works on various operating systems (macOS, Linux, Windows WSL) and handles all the dependencies. |
37 | | - |
38 | | -Clone the repository |
39 | | - |
40 | | -```shell |
41 | | -git clone https://github.com/nhs-england-tools/repository-template.git |
42 | | -cd nhs-england-tools/repository-template |
43 | | -``` |
| 21 | +This repository was cloned from the [nhs-england-tools/repository-template](https://github.com/nhs-england-tools/repository-template.git) |
44 | 22 |
|
45 | 23 | ### Prerequisites |
46 | 24 |
|
@@ -78,46 +56,18 @@ Installation and configuration of the toolchain dependencies |
78 | 56 | make config |
79 | 57 | ``` |
80 | 58 |
|
81 | | -## Usage |
82 | | - |
83 | | -After a successful installation, provide an informative example of how this project can be used. Additional code snippets, screenshots and demos work well in this space. You may also link to the other documentation resources, e.g. the [User Guide](./docs/user-guide.md) to demonstrate more use cases and to show more features. |
84 | | - |
85 | | -### Testing |
86 | | - |
87 | | -There are `make` tasks for you to configure to run your tests. Run `make test` to see how they work. You should be able to use the same entry points for local development as in your CI pipeline. |
88 | | - |
89 | 59 | ## Sandbox |
90 | 60 |
|
91 | | -There is a minimalist sandbox environment in `/sandbox` with an accompanying README with instructions on how to run it locally. |
| 61 | +There is a minimalist sandbox environment in `sandbox` with an accompanying [README](sandbox/README.md) with instructions on how to run it locally. |
92 | 62 |
|
93 | 63 | ## Specification |
94 | 64 |
|
95 | | -The OpenAPI specification is stored in `specification`. In that folder, there is an accompanying README with instructions on how to produce an environment-specification specification and publish |
96 | | -it using Proxygen CLI. |
97 | | - |
98 | | -## Design |
99 | | - |
100 | | -### Diagrams |
101 | | - |
102 | | -The [C4 model](https://c4model.com/) is a simple and intuitive way to create software architecture diagrams that are clear, consistent, scalable and most importantly collaborative. This should result in documenting all the system interfaces, external dependencies and integration points. |
103 | | - |
104 | | - |
105 | | - |
106 | | -The source for diagrams should be in Git for change control and review purposes. Recommendations are [draw.io](https://app.diagrams.net/) (example above in [docs](.docs/diagrams/) folder) and [Mermaids](https://github.com/mermaid-js/mermaid). Here is an example Mermaids sequence diagram: |
107 | | - |
108 | | -```mermaid |
109 | | -sequenceDiagram |
110 | | - User->>+Service: GET /users?params=... |
111 | | - Service->>Service: auth request |
112 | | - Service->>Database: get all users |
113 | | - Database-->>Service: list of users |
114 | | - Service->>Service: filter users |
115 | | - Service-->>-User: list[User] |
116 | | -``` |
| 65 | +The OpenAPI specification is stored in `specification`. In that folder, there is an accompanying [README](specification/README.md) with instructions on how to produce an environment-specific specification and publish |
| 66 | +it using proxygen CLI. |
117 | 67 |
|
118 | | -### Modularity |
| 68 | +## Deployment |
119 | 69 |
|
120 | | -Most of the projects are built with customisability and extendability in mind. At a minimum, this can be achieved by implementing service level configuration options and settings. The intention of this section is to show how this can be used. If the system processes data, you could mention here for example how the input is prepared for testing - anonymised, synthetic or live data. |
| 70 | +The deployment workflows are defined in the `.github/workflows/` folder. There is an accompanying [README](.github/DEPLOYMENT_README.md) with details on how the deployment works and how to use it. |
121 | 71 |
|
122 | 72 | ## Contributing |
123 | 73 |
|
|
0 commit comments