luciddr34m3r / defaultinator-ui

User interface for Defaultinator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting started

Configuration

The following environment variables can be set in a .env file or on the command line. An example with all default values is listed below.

PORT=3000
API_BASE_URI="http://localhost"
API_PORT=3001

Dev Environment

Set up the local API (Optional but helpful)

dafaultinator-api

Install dependencies and run

npm install
npm run start

But ideally you are deving with storybook, so run this to do component development.

npm run storybook

Testing

npm test

For coverage, run:

npm test -- --coverage --watchAll

Prod Environment

npm run build probably, but this isn't set up yet.

About

User interface for Defaultinator

License:MIT License


Languages

Language:JavaScript 98.6%Language:HTML 0.8%Language:CSS 0.5%Language:Dockerfile 0.1%