TODO
- Add description
# Run server locally
mix run --no-halt
# Curl example
curl -vvv https://services.nvd.nist.gov/rest/json/cves/2.0\?cveId\=CVE-2023-4030
curl -vvv http://localhost:4000/rest/json/cves/2.0\?cveId\=CVE-2023-4030
mix amnesia.create -d CacheNvdDatabase --disk
mix amnesia.drop -d CacheNvdDatabase
If available in Hex, the package can be installed
by adding cachenvd
to your list of dependencies in mix.exs
:
def deps do
[
{:cachenvd, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/cachenvd.