Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bv7dev/webzapp
Simple WebApp starter template
https://github.com/bv7dev/webzapp
customizable-webapp-template node-js reactjs sass template typescript webapp webpack yarn
Last synced: 2 days ago
JSON representation
Simple WebApp starter template
- Host: GitHub
- URL: https://github.com/bv7dev/webzapp
- Owner: bv7dev
- License: mit
- Created: 2021-03-27T10:22:05.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-08T16:22:24.000Z (almost 4 years ago)
- Last Synced: 2024-11-12T03:40:36.365Z (2 months ago)
- Topics: customizable-webapp-template, node-js, reactjs, sass, template, typescript, webapp, webpack, yarn
- Language: TypeScript
- Homepage:
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 upThe 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
```shell
yarn install
```## development build
```shell
yarn run dev
```or
```shell
./scripts/build.sh dev localhost 8080
```## production build and running server
```shell
yarn run build
yarn run serve
```or
```shell
./scripts/build.sh prod
./scripts/serve.sh hostname port
```You can generate self sigend certificates for testing and developing with
```shell
./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.