This repository contains the source code for Dungeons & Dragons web portal.
- Create React App
- Jest for running unit tests;
- React Testing Library for unit test assertions;
- Cypress for running E2E tests;
- Prettier for Source code formatting;
- ESLint for linting source code;
Node.js (version 16 or above).
$ git clone https://github.com/tmkasun/dnd-portal.git
$ cd dnd-portal
Run following command to install the dependencies.
```bash
$ npm ci
and run the following command to start the application.
$ npm start
Run the following command to Build and tag the Docker image.
docker build -t dndportal:dev .
and then run the following command to run the application.
docker run \
-it \
--rm \
-v ${PWD}:/app \
-v /app/node_modules \
-p 3000:3000 \
-e CHOKIDAR_USEPOLLING=true \
dndportal:dev
$ npm run test
$ npm run cy:run