An open API service indexing awesome lists of open source software.

https://github.com/cveproject/cve-user-registry-client


https://github.com/cveproject/cve-user-registry-client

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# CVE-User-Registry-Client

## Running the Client locally

Rename `.env_defaults` to `.env` and replace or check the following values.

- `VITE_CVE_SERVICES_URL` - CVE services URL, defaulted to http://localhost:3000/api/. Change to https://cveawg-test.mitre.org/api/ to use the hosted Test instance of Cve-Services.

```bash
mv .env_defaults .env
```

## Deploying with npm

**NOTE: The CVE User Registry Client requires Node.js v18.19.1 or higher to run.**

1. If you are using a remotely hosted instance of CVE Services, skip to step 2.

If you are using a local instance of the CVE Services API, ensure that both the API and MongoDB are both up and running in your environment. MongoDB will need to be seeded with data for the client to display anything. Information on running the CVE Services API and MongoDB locally, can be found in the CVE Services repository https://github.com/CVEProject/cve-services.

2. Install the dependencies with npm:

```bash
cd cve-user-registry-client/app
npm install
```

3. Run the CVE User Registry Client with npm:

```bash
npm run dev
```

The Client will be served at `localhost:5173`.