- https://github.com/vapor/toolbox
- https://docs.vapor.codes
- https://github.com/vapor/vapor
- https://github.com/vapor-community
- built-in test framework
- first class citizen ORM
- first class citizen templating
- Default vapor template contains a security flaw
- docker-compose.yml file from the initialization template was broken
Fill environment variables
cp .env.example .envdocker compose upTests are in ./Tests/exploring_vaporTests/exploring_vaporTests.swift
To run tests:
docker compose -f docker-compose-test.yml upGet all ninja scrolls
curl --request GET \
--url http://localhost:8080/scroll -v | jqCreate a ninja scroll
curl --request POST \
--url http://localhost:8080/scroll \
--header 'Content-Type: application/json' \
--data '{
"jutsu": "Rasengan",
"rank": "JONIN",
"usage": "All purpose physical attack, suited as 0HKO move"
}' \
-v | jq