Project Amber web / mobile client https://git.tdem.in/tdemin/amber
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
Timur Demin 083ae25e98
Update main API path in README.md
il y a 5 mois
doc Add Docker support il y a 1 an
public Change the theme color to #ffffff il y a 11 mois
src Add a sort helper il y a 8 mois
.dockerignore Add Docker support il y a 1 an
.drone.yml Add test runner to Drone pipeline il y a 8 mois
.editorconfig Add convenience configurations il y a 1 an
.eslintrc.json Add initial support for datetime editing in editor view il y a 8 mois
.gitignore Remove VSCode settings from the Git tree il y a 8 mois
.prettierignore Cleanup & make coding comfier il y a 1 an
.prettierrc.json Add convenience configurations il y a 1 an
Dockerfile Reorder build args in the Dockerfile il y a 8 mois
LICENSE.txt Add license il y a 1 an
README.md Update main API path in README.md il y a 5 mois
package.json Bump v0.1.1 il y a 8 mois
tsconfig.json Add convenience configurations il y a 1 an
yarn.lock Update dependencies il y a 8 mois

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.