Project Amber web / mobile client https://git.tdem.in/tdemin/amber
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
Timur Demin 5dd6536a27
Reorder build args in the Dockerfile
2 miesięcy temu
doc Add Docker support 7 miesięcy temu
public Change the theme color to #ffffff 5 miesięcy temu
src Add a sort helper 2 miesięcy temu
.dockerignore Add Docker support 7 miesięcy temu
.drone.yml Add test runner to Drone pipeline 2 miesięcy temu
.editorconfig Add convenience configurations 7 miesięcy temu
.eslintrc.json Add initial support for datetime editing in editor view 3 miesięcy temu
.gitignore Remove VSCode settings from the Git tree 2 miesięcy temu
.prettierignore Cleanup & make coding comfier 7 miesięcy temu
.prettierrc.json Add convenience configurations 7 miesięcy temu
Dockerfile Reorder build args in the Dockerfile 2 miesięcy temu
LICENSE.txt Add license 6 miesięcy temu
README.md Add build instructions (fixes #19) 5 miesięcy temu
package.json Bump v0.1.1 2 miesięcy temu
tsconfig.json Add convenience configurations 7 miesięcy temu
yarn.lock Update dependencies 2 miesięcy temu

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.