react-typescript-template

command module
v0.0.0-...-4258ca0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 11 Imported by: 0

README

react-typescript app

build status report card

This is a project template for Iris with React & Typescript apps.

Prerequisites

You will need to have:

  • Node.js and Yarn to build the frontend application.
  • Go to run the web server.
  • Go-Bindata tool to embed the frontend app to the final build. Install it with the following Go command:
go install github.com/go-bindata/go-bindata/v3/go-bindata@latest

Get started

Install & run the template with Iris CLI:

iris-cli run react-typescript
details...

Install the dependencies and build with Yarn...

cd app
yarn install
yarn build
cd ../

...then start the Iris web server:

go-bindata -prefix "app/build" -fs ./app/build/...
go run .

Navigate to localhost:8080. You should see your app running.

Documentation

Overview

Package main generated by go-bindata.// sources: app/build/asset-manifest.json app/build/favicon.ico app/build/index.html app/build/logo192.png app/build/logo512.png app/build/manifest.json app/build/robots.txt app/build/static/css/main.073c9b0a.css app/build/static/css/main.073c9b0a.css.map app/build/static/js/main.82c79272.js app/build/static/js/main.82c79272.js.LICENSE.txt app/build/static/js/main.82c79272.js.map app/build/static/media/logo.2d27ead7c10f774c5306bcf3c257a728.svg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL