Skip to content

tmkasun/dnd-portal

Repository files navigation

Dungeons & Dragons web portal

This repository contains the source code for Dungeons & Dragons web portal.

Technologies

Getting started

Prerequisites

Node.js (version 16 or above).

$ git clone https://github.com/tmkasun/dnd-portal.git
$ cd dnd-portal

Running locally

Run following command to install the dependencies.

```bash
$ npm ci

and run the following command to start the application.

$ npm start

Running on container

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

Tests

Unit & Integration tests

$ npm run test

E2E tests

$ npm run cy:run

DEMO

Demo