Project Amber web / mobile client https://git.tdem.in/tdemin/amber
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
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.