themys-utfpr-backend Tailwind Templates

Themys Utfpr Backend

Themis-UTFPR-Backend is a project TTRPG Assistent developed for the Back-End Application Development course at UTFPR/GP. It utilizes Typescript + React + Tailwind for the frontend, along with a backend built in PhP.

Themys - A TTRPG Assistent (PhP + React Native)

Themys Project is a Tabletop RPG assistent focused on providing players with direct access to essential information about their characters, campaigns, and especially their RPG system rules. The software also aims to allow the Dungeon Master to manage and configure essential aspects of the RPG system, providing utilities and automations that will help any DM to focus more on the campaign itself. The software is aimed at tabletop RPG players and Dungeon Masters who use the Dungeons & Dragons 5 (Next) rule system or homebrews.

Installation

DependĂȘncias

  • Docker
  • Docker Compose

Getting Started

Clone Repository

$ git clone [email protected]:adnir-andrade/themys-utfpr-backend.git
$ cd themys-utfpr-backend

Define the env variables

$ cp .env.example .env

Install the dependencies

$ ./run composer install

Up the containers

$ docker compose up -d

ou

$ ./run up -d

Create database and tables

$ ./run db:reset

Populate database

$ ./run db:populate

Fixed uploads folder permission

sudo chown www-data:www-data public/assets/uploads

Run the tests

$ docker compose run --rm php ./vendor/bin/phpunit tests --color

ou

$ ./run test

Run the linters

PHPCS

$ ./run phpcs

PHPStan

$ ./run phpstan

Access localhost

Teste de API

curl -H "Accept: application/json" localhost/problems

Top categories

Loading Svelte Themes