Boilerplate of networkdefines frontend
Make a .env.local .env.dev .env using .env.sample
.env.local
: for local envrionment.env.dev
: for dev server environment.env
: for production server environment
Install packages
$ yarn install
Run frontend webpack server
$ yarn local
or
$ yarn start
Open the web
http://localhost:3000
Build static files
$ yarn build:dev
or
$ yarn build:prod
Serve the static files in the backend
Run the express server and serve the above static files
Open the web
https://sendia.io
or
https://dev.sendia.io