This project aims to replicate some popular features of Twitter and provides endpoints for creating and retrieving tweets via an API.
You can access the API documentation by navigating to localhost:3000/api-docs
in your web browser after launching the application.
Follow the steps below to get the development environment up and running
docker-compose run --rm web bundle exec rails db:create
docker-compose up
docker-compose run --rm -e RAILS_ENV=test web bundle exec rspec
docker-compose run --rm web bundle exec rails rswag:specs:swaggerize
Get the web container id
docker ps
Attach your terminal to the container
docker attach container_id