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.
mv .env_defaults .env
NOTE: The CVE User Registry Client requires Node.js v18.19.1 or higher to run.
- 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.
- Install the dependencies with npm:
cd cve-user-registry-client/app
npm install
- Run the CVE User Registry Client with npm:
npm run dev
The Client will be served at localhost:5173
.