Create a simple rack app with rspec-tests and github actions
Add to rack application middlewares:
- that will log the request
- handle a unexpected exception
- handle responses 404, 500
- handle requset to public assets Assets must be in the public folder "lib/public/assets" Example request:
http://localhost:9292/public/xml_file.xml
Add to rack application cache-control(only for assets) and etag middleware
Create simple dsl for routing, methods get, post and mount to another rack app
- Ensure docker and docker compose is alredy installed in a computer.
- Run in termianl command
docker-compose up
- Open in browser http://localhost:9292