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 7d37b4057c
Fix linting warnings
1 week ago
.vscode Cleanup & make coding comfier 2 months ago
doc Add Docker support 2 months ago
public Change the theme color to #ffffff 3 weeks ago
src Fix linting warnings 1 week ago
.dockerignore Add Docker support 2 months ago
.drone.yml Fix CI linting step 1 month ago
.editorconfig Add convenience configurations 2 months ago
.eslintrc.json Add convenience configurations 2 months ago
.gitignore Initial commit from Create React App 2 months ago
.prettierignore Cleanup & make coding comfier 2 months ago
.prettierrc.json Add convenience configurations 2 months ago
Dockerfile Make the app URI configurable with a Docker arg (see #17) 3 weeks ago
LICENSE.txt Add license 2 months ago
README.md Add build instructions (fixes #19) 3 weeks ago
package.json Bump v0.0.5 1 week ago
tsconfig.json Add convenience configurations 2 months ago
yarn.lock Make ESLint work again (fixes #3) 1 month ago

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.