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 f42d494c91
Bump v0.1.1
1 semana atrás
.vscode Update linting settings 1 mês atrás
doc Add Docker support 4 meses atrás
public Change the theme color to #ffffff 2 meses atrás
src Bump v0.1.1 1 semana atrás
.dockerignore Add Docker support 4 meses atrás
.drone.yml Update CI config 3 semanas atrás
.editorconfig Add convenience configurations 4 meses atrás
.eslintrc.json Add initial support for datetime editing in editor view 2 semanas atrás
.gitignore Initial commit from Create React App 4 meses atrás
.prettierignore Cleanup & make coding comfier 4 meses atrás
.prettierrc.json Add convenience configurations 4 meses atrás
Dockerfile Update API base URI in Dockerfile 3 semanas atrás
LICENSE.txt Add license 4 meses atrás
README.md Add build instructions (fixes #19) 2 meses atrás
package.json Bump v0.1.1 1 semana atrás
tsconfig.json Add convenience configurations 4 meses atrás
yarn.lock Update dependencies 1 semana 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.