An open API service indexing awesome lists of open source software.

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

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`).