https://github.com/tilt-dev/tilt-example-nodejs
An example project that demonstrates fast updates to a NodeJS server running on Kubernetes
https://github.com/tilt-dev/tilt-example-nodejs
Last synced: 4 months ago
JSON representation
An example project that demonstrates fast updates to a NodeJS server running on Kubernetes
- Host: GitHub
- URL: https://github.com/tilt-dev/tilt-example-nodejs
- Owner: tilt-dev
- License: apache-2.0
- Created: 2020-03-20T22:25:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-15T20:09:46.000Z (over 2 years ago)
- Last Synced: 2025-04-23T23:37:06.889Z (about 1 year ago)
- Language: JavaScript
- Size: 288 KB
- Stars: 21
- Watchers: 3
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tilt-example-nodejs
[](https://circleci.com/gh/tilt-dev/tilt-example-nodejs)
An example project that demonstrates how to use Tilt to develop on a NodeJS app (using Express for serving and Mustache for templating).
## Fastest Deployment
This progression of examples shows how to start, and incrementally update your project for the fastest possible update time. Follow along in our [NodeJS example project guide](https://docs.tilt.dev/example_nodejs.html).
- [0-base](0-base): the simplest way to start
- [1-measured](1-measured): use `local_resource` to measure your deployment time
- [2-optimized-dockerfile](2-optimized-dockerfile): be sure to optimize your Dockerfile to make good use of caching
- [3-recommended](3-recommended): use `live_update` for super-fast deploys
## Other Configurations
- [101-debugger](101-debugger): The recommended setup, exposing a debugger on port 9229 that you
can connect to with your favorite NodeJS debugger (chrome://inspect, VSCode, IntelliJ, etc)
- [tests-example](tests-example): an example of how to use Tilt to run your tests for you as you iterate
## License
Copyright 2022 Docker, Inc.
Licensed under [the Apache License, Version 2.0](LICENSE)