Project Amber web / mobile client https://git.tdem.in/tdemin/amber
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
Timur Demin 5dd6536a27
Reorder build args in the Dockerfile
hace 2 meses
doc Add Docker support hace 7 meses
public Change the theme color to #ffffff hace 5 meses
src Add a sort helper hace 2 meses
.dockerignore Add Docker support hace 7 meses
.drone.yml Add test runner to Drone pipeline hace 2 meses
.editorconfig Add convenience configurations hace 7 meses
.eslintrc.json Add initial support for datetime editing in editor view hace 3 meses
.gitignore Remove VSCode settings from the Git tree hace 2 meses
.prettierignore Cleanup & make coding comfier hace 7 meses
.prettierrc.json Add convenience configurations hace 7 meses
Dockerfile Reorder build args in the Dockerfile hace 2 meses
LICENSE.txt Add license hace 6 meses
README.md Add build instructions (fixes #19) hace 5 meses
package.json Bump v0.1.1 hace 2 meses
tsconfig.json Add convenience configurations hace 7 meses
yarn.lock Update dependencies hace 2 meses

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.

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.