- Descrição
- Tecnologias
- Linguagens
- Frameworks utilizados
- Empacotador
- Gerenciador de contêineres
- Bibliotecas/Gems
- Executando o projeto
- Executando os testes
Esta aplicação fornece uma ficha de personagem automatizada para D&D 5ª Edição.
- factory_bot_rails
- graphql
- graphiql-rails
- rspec-rails
- rubocop-performance
- rubocop-rails
- rubocop-rspec
- shoulda-matchers
- Certifique-se de ter o Docker instalado.
- Clone o repositório:
git clone git@github.com:mfornaciari/dnd-sheet.git
- Suba os contêineres:
docker compose up
- Aguarde a inicialização dos servidores.
- Acesse
localhost:3000
. - Para usar o console GraphiQL, acesse
localhost:3001/graphiql
.
-
Após clonar o projeto e subir os contêineres, entre no contêiner que deseja testar.
-
Back-end:
docker compose exec -it back-end bash
- Front-end:
docker compose exec -it front-end bash
- No back-end, execute
rspec
; no front-end,yarn test
.
- Description
- Technologies
- Languages
- Frameworks used
- Bundling
- Container management
- Libraries/Gems
- Running the project
- Running tests
This app provides an automated character sheet for 5th Edition D&D.
- factory_bot_rails
- graphql
- graphiql-rails
- rspec-rails
- rubocop-performance
- rubocop-rails
- rubocop-rspec
- shoulda-matchers
- Make sure you have Docker installed.
- Clone the repo:
git clone git@github.com:mfornaciari/dnd-sheet.git
- Run the containers:
docker compose up
- Wait for the servers to initialize.
- Access
localhost:3000
. - To use the GraphiQL console, access
localhost:3001/graphiql
.
After cloning the project and running the containers, access the container you want to test.
Back-end:
docker compose exec -it back-end bash
Front-end:
docker compose exec -it front-end bash
On back-end, run rspec
; on front-end, yarn test
.