- Notifications
You must be signed in to change notification settings - Fork1
🐳 TypeScript microservice on Docker with optimized defaults
License
timothymiller/typescript-microservice
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
TypeScript Microservice starter project with batteries included.
- Code in ES6 TypeScript
- ESLint & Prettier integration with VS Code extensions
- Instant code reload in debug mode
- JavaScript optimizations
- ESLint - Airbnb JavaScript Style Guide
- Prettier - Format code on save
- Rollup
- Tree-shaking
- Optimize ES modules for faster native loading
- Removes
console.logstatements from docker builds - CommonJS module format
- Mocha
- Chai
yarn start
Execute source code with nodemon for live reloading of code changes.
yarn test
Run all *.test.ts files in test/ directory.
yarn build
Export app to prod/app.ts after running tsc & rollup.
If you wanted to extend this template to create an API server, you would do so in your docker-compose file utilizing the output image from this template or when running from the command line like this:
docker run -p <public_port>:<private_port> -d <image>
This Template is licensed under the GNU General Public License, version 3 (GPLv3).
Timothy Miller
About
🐳 TypeScript microservice on Docker with optimized defaults
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.