https://github.com/b00gizm/compose-node-generated
A sample project, generated by docker-compose-nodejs-examples
https://github.com/b00gizm/compose-node-generated
babel docker docker-compose es6 express generated nodejs polyfills postgresql react redux
Last synced: about 6 hours ago
JSON representation
A sample project, generated by docker-compose-nodejs-examples
- Host: GitHub
- URL: https://github.com/b00gizm/compose-node-generated
- Owner: b00gizm
- License: mit
- Created: 2017-04-15T09:54:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-15T09:58:13.000Z (almost 9 years ago)
- Last Synced: 2026-01-03T14:28:14.993Z (3 months ago)
- Topics: babel, docker, docker-compose, es6, express, generated, nodejs, polyfills, postgresql, react, redux
- Language: JavaScript
- Size: 190 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# express-postgres-react-polyfills-make
This is a sample project, generated by [docker-compose-nodejs-examples](https://github.com/b00giZm/docker-compose-nodejs-examples), to help you getting started with [Docker Compose](https://docs.docker.com/compose/) and Node.js.
## Requirements
You need, of course, recent versions of Docker and Docker Compose installed. Please refer to the [original documention on the Docker website](https://docs.docker.com/compose/install/) to see how to install them on your system.
[GNU Make](https://www.gnu.org/software/make/) should also be available on your system. If you have any build tools installed, chances are pretty good that `make` is already present on your machine.
## Quickstart
```bash
cd /path/to/express-postgres-react-polyfills-make
make
```
Depending on the project layout, it might take a few minutes to compile, build and start the app. When done, you can access the app in your browser. On macOS and Linux, this should be [http://localhost:3000](http://localhost:3000).
## What's Inside
* Skeleton: **express**
* database: **postgres**
* Frontend: **react**
* Browser Polyfills: **yes**
* Build Tool: **make**
Don't like it? Roll your own with [docker-compose-nodejs-examples](https://github.com/b00giZm/docker-compose-nodejs-examples).
## Make Targets
* **docker-build** - Builds the application's Docker image
* **install** - Installs all necessary NPM dependencies
* **start** - Starts the application via `docker-compose up`
* **build-js** - Builds all JavaScripts for the browser
* **watch-js** - Builds JavaScripts and watches for file changes to rebuild