An open API service indexing awesome lists of open source software.

https://github.com/noahgift/functions-from-zero

live training
https://github.com/noahgift/functions-from-zero

Last synced: 8 months ago
JSON representation

live training

Awesome Lists containing this project

README

          

# functions-from-zero
live training

[![Python application test with Github Actions](https://github.com/noahgift/functions-from-zero/actions/workflows/main.yml/badge.svg)](https://github.com/noahgift/functions-from-zero/actions/workflows/main.yml)

### To call Microservice

something like this
```bash
curl -X 'POST' \
'https://noahgift-functions-from-zero-r7g59wcxx6x-8080.githubpreview.dev/wiki' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"name": "Microsoft"
}'
```

### Build container

`docker build .`
`docker image ls`

### Run container

something like this

`docker run -p 127.0.0.1:8080:8080 a81ce4f35866`

### Invoke POST request

run `invoke.sh`

## References

* [Watch Walkthrough on YouTube](https://youtu.be/KOAdCqpQSI4)