Project Amber web / mobile client https://git.tdem.in/tdemin/amber
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Timur Demin 5dd6536a27
Reorder build args in the Dockerfile
2 meses atrás
doc Add Docker support 6 meses atrás
public Change the theme color to #ffffff 5 meses atrás
src Add a sort helper 2 meses atrás
.dockerignore Add Docker support 6 meses atrás
.drone.yml Add test runner to Drone pipeline 2 meses atrás
.editorconfig Add convenience configurations 7 meses atrás
.eslintrc.json Add initial support for datetime editing in editor view 2 meses atrás
.gitignore Remove VSCode settings from the Git tree 2 meses atrás
.prettierignore Cleanup & make coding comfier 7 meses atrás
.prettierrc.json Add convenience configurations 7 meses atrás
Dockerfile Reorder build args in the Dockerfile 2 meses atrás
LICENSE.txt Add license 6 meses atrás
README.md Add build instructions (fixes #19) 5 meses atrás
package.json Bump v0.1.1 2 meses atrás
tsconfig.json Add convenience configurations 7 meses atrás
yarn.lock Update dependencies 2 meses atrás

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.