https://github.com/figadore/express-skeleton-app
skeleton express app for node.js
https://github.com/figadore/express-skeleton-app
Last synced: about 1 year ago
JSON representation
skeleton express app for node.js
- Host: GitHub
- URL: https://github.com/figadore/express-skeleton-app
- Owner: figadore
- Created: 2015-12-12T22:25:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-15T16:38:14.000Z (over 10 years ago)
- Last Synced: 2025-07-14T02:00:52.408Z (about 1 year ago)
- Language: JavaScript
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Customize skeleton
* update project name/description, run command in readme below
* update .drone.yml's publish `repo` field
* update config/config.js's `appName` field
* activate repo in drone
* generate .drone.sec from .drone.sec.dist in drone's `secrets` tab for the repo
# Project name
Project description
## Developing
### Docker
#### Using docker-compose
* `docker-compose -f dev-compose.yml build`
* `docker-compose -f dev-compose.yml up`
Note: first time running with dev-compose.yml will require npm install from another shell attached to this container, e.g. `docker exec -it app_app_1 bash` `npm install`
#### Using plain docker
* `docker build -t ncd-backend ./`
* `docker run --it -rm -v $(pwd):/var/www -p 3000:80 ncd-backend` #runs on host port 3000
### Custom local Node.js installation
Run `npm start` in the root of the repository
## Deploying
### Docker
* `docker build -t project ./`
* `docker run -d -p 80:80 project`
### Kubernetes
TODO