Create .env file using .env_test as a template. Or just copy it.
Fire up docker compose up to start app and postgres servers:
docker compose upMake some requests to create user record:
curl -H 'Content-Type: application/json' \
-X POST \
-d '{"user":{"name":"test","email":"test@example.com","password":"pass"}}' \
localhost:3000/usersor to show all created records:
curl -H 'Content-Type: application/json' localhost:3000/usersor exact one:
curl -H 'Content-Type: application/json' localhost:3000/users/1And system one feature, in praise of healthchecks:
curl -H 'Content-Type: application/json' localhost:3000/ping- Add environments
- Add swagger
- Add documentation
- Add specs and Guard
- Add hot reloading in development env
- Move to falcon
- Add auth
- Harden validations