Skip to content

bv7dev/webzapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebZapp - Simple WebApp from scratch

Transparent and customizable WebApp template using
React, Typescript and Sass
A Node.js server backend
And Webpack to wrap it all up

The build script requires a Linux environment.
It watches for changes and automatically rebuilds the server and frontend during development.

Log-files for all build processes can be found in the logs folder!

install dependencies

yarn install

development build

yarn run dev

or

./scripts/build.sh dev localhost 8080

production build and running server

yarn run build
yarn run serve

or

./scripts/build.sh prod
./scripts/serve.sh hostname port

You can generate self sigend certificates for testing and developing with

./scripts/gencerts.sh

they are stored in ./backend/test/certs/

The build script creates symbolic links to test-certs, test-data and the frontend bundle to be served by the node backend. Thus it can be easily replaced by real certs and data in production environments.