![codecov](https://camo.githubusercontent.com/b166c9db03b1159d775fd94f387ae38e4975c3c7cd53bd2933f112d0d42ffb6e/68747470733a2f2f636f6465636f762e696f2f67682f5465616d2d417374657261636561652f70726f6a6563742d63617477616c6b2f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d49574f50415351343550)
- Copy
.env.example
to a new file named .env
and fill in the VITE_API_TOKEN
field with a GitHub token. You may also want to replace the VITE_API
field with the endpoint of your own API server.
- Run
npm install
to install dependencies.
- Start your application with
npm run start
.
- Visit http://localhost:3000.
npm install
npm run build:client
npm run build:server
- Set the following environment variables:
PORT
: port to which the server should bind
VITE_API
: endpoint URL for the API server, e.g. https://app-hrsei-api.herokuapp.com/api/fec2/hr-rfp
VITE_API_TOKEN
: GitHub token
PRODUCT_CACHE_SECONDS
: number of seconds before a product's information expires from the server-side cache
PRODUCT_CACHE_SIZE
: maximum number of products to store in the cache
- Start your application with
npm run serve
.