git-bug/webui
dependabot-preview[bot] dc8d28df7e
build(deps): [security] bump acorn from 5.7.3 to 5.7.4 in /webui
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. **This update includes a security fix.**
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-13 20:59:45 +00:00
..
public webui: add logo 2020-01-24 00:28:18 +01:00
src webui: adjust some margins 2020-02-23 16:30:24 +01:00
types webui: format some files 2020-02-12 23:39:23 +01:00
.eslintrc.js webui: move pages components 2020-02-13 20:00:03 +01:00
.gitignore make git-bug go gettable without having to commit the builded webUI 2018-08-06 14:18:55 +02:00
.prettierrc webui: Format everything with prettier 2018-08-19 23:14:45 +02:00
codegen.yaml webui: finish TypeScript conversion 2020-02-12 23:09:45 +01:00
debug_assets.go invert the behavior of the build flag for the webui 2018-09-02 00:06:50 +02:00
Makefile webui: fix bad formatting on Date 2020-02-23 15:58:39 +01:00
pack_webui.go invert the behavior of the build flag for the webui 2018-09-02 00:06:50 +02:00
package-lock.json build(deps): [security] bump acorn from 5.7.3 to 5.7.4 in /webui 2020-03-13 20:59:45 +00:00
package.json webui: start reorganizing the component structure 2020-02-13 00:53:29 +01:00
packed_assets.go pack the webui 2020-02-23 16:31:49 +01:00
Readme.md webui: format some files 2020-02-12 23:39:23 +01:00
tsconfig.json webui: move pages components 2020-02-13 20:00:03 +01:00

git-bug rich web UI

How to develop

  1. Compile the go binary

    • run make in the root directory
  2. Run the GraphQL backend on the port 3001

    • ./git-bug webui -p 3001
  3. Run the hot-reloadable development WebUI

    • run npm start in the webui directory

The development version of the WebUI is configured to query the backend on the port 3001. You can now live edit the js code and use the normal backend.

Bundle the web UI

Once the webUI is good enough for a new release, run make pack-webui from the root directory to bundle the compiled js into the go binary.