Project Amber web / mobile client https://git.tdem.in/tdemin/amber
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
Timur Demin 083ae25e98
Update main API path in README.md
2 个月前
doc Add Docker support 10 个月前
public Change the theme color to #ffffff 8 个月前
src Add a sort helper 5 个月前
.dockerignore Add Docker support 10 个月前
.drone.yml Add test runner to Drone pipeline 5 个月前
.editorconfig Add convenience configurations 10 个月前
.eslintrc.json Add initial support for datetime editing in editor view 6 个月前
.gitignore Remove VSCode settings from the Git tree 5 个月前
.prettierignore Cleanup & make coding comfier 10 个月前
.prettierrc.json Add convenience configurations 10 个月前
Dockerfile Reorder build args in the Dockerfile 5 个月前
LICENSE.txt Add license 9 个月前
README.md Update main API path in README.md 2 个月前
package.json Bump v0.1.1 5 个月前
tsconfig.json Add convenience configurations 10 个月前
yarn.lock Update dependencies 5 个月前

README.md

Amber Web

The web client for Project Amber, made with React, Redux, and TypeScript.

Running the app locally

Development

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.

Docker

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

Development

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!

License

This program is MIT-licensed. See LICENSE.txt for details.