https://github.com/dylants/webapp-template
A template for a web application
https://github.com/dylants/webapp-template
babel eslint express nodejs react redux starter-template webapp-template
Last synced: 2 months ago
JSON representation
A template for a web application
- Host: GitHub
- URL: https://github.com/dylants/webapp-template
- Owner: dylants
- Created: 2019-03-09T14:58:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-09T17:46:07.000Z (over 7 years ago)
- Last Synced: 2025-02-09T17:14:58.890Z (over 1 year ago)
- Topics: babel, eslint, express, nodejs, react, redux, starter-template, webapp-template
- Language: JavaScript
- Size: 145 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webapp-template
A template for a web application.
## Getting Started
Install Node (I recommend using [nvm](https://github.com/creationix/nvm)) and [yarn](https://yarnpkg.com). Specific versions of Node and Yarn are required, and can be found in the `package.json` file.
Install the dependencies:
```
$ yarn
```
To start the application (in development mode), run the following command:
```
$ yarn start
```
The application will then be viewable at: [http://localhost:3000](http://localhost:3000)
### Production
For production, run the following commands:
```
$ yarn build
...
$ yarn production
```
The application will be viewable on port 3000 (by default).
## Configuration
Configuration for the application is available within the `config/index.js` file.
## Tests
Tests are written along side the source files, and include `.test.` in the file name. To execute the tests, run the following command:
```
$ yarn test
```
To run the tests in watch mode:
```
$ yarn test:watch
```