Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

PokeGuys/pcr-arena-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Priconne arena API

Priconne API wrapper written in NestJS. Used to search player profile.

Prerequisites

  • Git
  • NodeJS 16+
  • yarn
  • Docker

Quick start

To install all the required stack on a server, we used Docker to build the application image.

# 1. Clone the repository
git clone https://github.com/pokeguys/pcr-arena-api.git
cd pcr-arena-api

# 2. Install Dependencies
yarn

# 3. Create a ".env" file
cp .env.example .env

# 4. Run via Docker
docker compose -f docker-compose.infra.yml -f docker-compose.dev.yml up

# 5. Run the migration script in docker
docker compose -f docker-compose.dev.yml exec -T api npx mikro-orm migration:up

License

MIT License