Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
github.com/farodriguezm/tribal-jokes-api
Este es un proyecto de practica utilizando docker y go
En este proyecto se esta usando variables de entorno, la cuales se establecen en el archivo .env
PORT
Esta variable especifica el puerto por el cual estará escuchando la aplicación
MAX_JOKES
Esta variable establece el máximo de jokes que serán retornados
Clonar el repositorio
git clone git@github.com:farodriguezm/tribal-jokes-api.git
Acceder a la directorio del proyecto
cd tribal-jokes-api
Construir imagen de docker
docker build --tag tribal-jokes-api .
Crear contenedor
docker run -d -p 8000:8000 --env-file .env --name jokes-api tribal-jokes-api
/
Retorna un mensaje de bienvenida
/ping
Retorna el mensaje "pong"
/jokes/sync
Retorna una lista de jokes de forma secuencial
/jokes/wg
Retorna una lista de jokes utilizado WaitGroups
/jokes/chanel
Retorna una lista de jokes utilizado Chanels
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.