Project Amber web / mobile client https://git.tdem.in/tdemin/amber
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Timur Demin f42d494c91
Bump v0.1.1
pirms 1 nedēļas
.vscode Update linting settings pirms 2 mēnešiem
doc Add Docker support pirms 4 mēnešiem
public Change the theme color to #ffffff pirms 3 mēnešiem
src Bump v0.1.1 pirms 1 nedēļas
.dockerignore Add Docker support pirms 4 mēnešiem
.drone.yml Update CI config pirms 1 mēnesi
.editorconfig Add convenience configurations pirms 5 mēnešiem
.eslintrc.json Add initial support for datetime editing in editor view pirms 3 nedēļām
.gitignore Initial commit from Create React App pirms 5 mēnešiem
.prettierignore Cleanup & make coding comfier pirms 4 mēnešiem
.prettierrc.json Add convenience configurations pirms 5 mēnešiem
Dockerfile Update API base URI in Dockerfile pirms 1 mēnesi
LICENSE.txt Add license pirms 4 mēnešiem
README.md Add build instructions (fixes #19) pirms 3 mēnešiem
package.json Bump v0.1.1 pirms 1 nedēļas
tsconfig.json Add convenience configurations pirms 5 mēnešiem
yarn.lock Update dependencies pirms 2 nedēļām

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.