|
vor 9 Monaten | |
---|---|---|
doc | vor 1 Jahr | |
public | vor 1 Jahr | |
src | vor 1 Jahr | |
.dockerignore | vor 1 Jahr | |
.drone.yml | vor 1 Jahr | |
.editorconfig | vor 1 Jahr | |
.eslintrc.json | vor 1 Jahr | |
.gitignore | vor 1 Jahr | |
.prettierignore | vor 1 Jahr | |
.prettierrc.json | vor 1 Jahr | |
Dockerfile | vor 1 Jahr | |
LICENSE.txt | vor 1 Jahr | |
README.md | vor 9 Monaten | |
package.json | vor 1 Jahr | |
tsconfig.json | vor 1 Jahr | |
yarn.lock | vor 1 Jahr |
The web client for Project Amber, made with React, Redux, and TypeScript.
Simply run:
% yarn install --dev
% yarn start
Set the REACT_APP_APIURI
environment variable in case you're testing against
a local server. It should point to the base URI for all API requests, namely
https://amber.h.tdem.in/api/v0
.
Run:
% docker build . -t amber_web
% docker run -it -p 8080:80 amber_web
If you're running your own API server, be sure to set the
REACT_APP_APIURI
flag when building:
% docker build . -t amber_web --build-arg REACT_APP_APIURI=https://your.tld/api
The source code of this app is formatted automatically with Prettier. Be sure
to run yarn beautify
and yarn lint
before sending a pull request!
This program is MIT-licensed. See LICENSE.txt for details.