https://github.com/webextensions/web-app-template
A web application project template, based on: Node.js, Express, React, TypeScript, Webpack, etc
https://github.com/webextensions/web-app-template
Last synced: 4 months ago
JSON representation
A web application project template, based on: Node.js, Express, React, TypeScript, Webpack, etc
- Host: GitHub
- URL: https://github.com/webextensions/web-app-template
- Owner: webextensions
- License: mit
- Created: 2019-08-22T02:51:13.000Z (almost 7 years ago)
- Default Branch: template
- Last Pushed: 2026-02-21T22:34:49.000Z (4 months ago)
- Last Synced: 2026-02-22T04:47:13.947Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 6.57 MB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README-CUSTOMIZE.md
- License: LICENSE
Awesome Lists containing this project
README
## Files
### `config/config.common.js`
* In the JSON object for the config, update `.application.name` from `web-app-template` to the name of the application (eg: `my-demo-app`).
### `package.cjson` / `package.json` / `package-lock.json`
* In the JSON object for the package, update `.name` from `web-app-template` to the name of the application (eg: `my-demo-app`).
### `package.cjson` / `package.json`
* Update the URLs for `.homepage`, `.repository.url` and `.bugs.url` to the appropriate values.
* Update the `.author` field to the appropriate value.
* Update the `.license` field to the appropriate value.
### `README.md`
* Update the title of the `README.md` file from `web-app-template` to the name of the application (eg: `My Demo App`).
### `backend/src/server/application.js`
In definition of function `logAndNotifyAboutServer()`, w.r.t. `localIpAddressesAndHostnames`:
* Either change the `preferredEntries` entry from `'web-app-template.localhost'` to the mapped name (eg: `'my-demo-app.localhost'`) for the local development machine in the hosts file (`/etc/hosts`)
* Or remove that entry (`'web-app-template.localhost'`) if it is not required
## Port Number
### Port number for the web server
* The default port number for the web server in this project (web-app-template) is `3000`.
* If you want to change the port number, search for `3000` in the codebase and identify relevant pieces of code and change them to the desired port number (eg: `4000`).
### Port number for the PostgreSQL database
* The default port number for the PostgreSQL database in this project (web-app-template) is `5433`.
* This project (web-app-template) is using port `5433` to avoid potential conflict with system-wide PostgreSQL installation which usually runs on port `5432`.
* If you want to change the port number, search for `5433` in the codebase and identify relevant pieces of code and change them to the desired port number (eg: `5434`).