gomezgoiri / webofcomics-frontend

React based frontend for the "Web of comics" webapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webofcomics-frontend

React based frontend for the "Web of comics"1 webapp.

[1] I will probably find a better name for this in the future ;-)

Configuration

Set an environment variable called REACT_APP_HTTP_API= pointing to the base URL of the HTTP API.

You can do this by creating a file called .env which contains something like:

REACT_APP_HTTP_API='http://localhost:5000'

Run on development mode

yarn install # if necessary
yarn start

Production version

To create the production-ready static files of the frontend run:

yarn build

If Docker is detected, this command will also create an image with an static web server and the build files. To run a container of this image, simply run:

yarn deploy

About

React based frontend for the "Web of comics" webapp

License:GNU General Public License v3.0


Languages

Language:JavaScript 91.8%Language:HTML 4.4%Language:Shell 2.5%Language:CSS 1.2%