HUB
Sign inSign up

phatanut/ts-api-push

By phatanut

•Updated about 2 years ago

Simple TypeScript API Sample

Image
0

81

phatanut/ts-api-push repository overview

Overview ts-api is a Docker image that provides a lightweight and ready-to-use environment for running a simple TypeScript API.

Table of Contents Getting Started

Prerequisites Installation Quick Start Configuration

Environment Variables Ports Usage

Running the Container Example Extending the Image

Contributing

License

Getting Started Prerequisites Docker installed on your system. You can download it here⁠. Installation Pull the latest version of the image from Docker Hub:

docker pull aeffb2d/ts-api:1.0.0 Quick Start Run a simple TypeScript API container:

docker run -p 8080:4000 aeffb2d/ts-api:1.0.0 Configuration Environment Variables ENV_VARIABLE_NAME: Description of the environment variable (Optional). Ports 4000: Default port for the TypeScript API. Usage Running the Container docker run -p :4000 aeffb2d/ts-api:1.0.0 Example docker run -p 8080:4000 aeffb2d/ts-api:1.0.0 Visit http://localhost:8080⁠ in your browser to access the API.

Extending the Image If you need to customize or extend this image, you can create a new Dockerfile:

FROM aeffb2d/ts-api:1.0.0

⁠Add your custom configurations and dependencies here

Contributing If you would like to contribute to this project, please follow our contribution guidelines.

License This project is licensed under the MIT License.

Tag summary

Content type

Image

Digest

sha256:c79f571e9…

Size

388.9 MB

Last updated

about 2 years ago

docker pull phatanut/ts-api-push:1.0.0