1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-22 19:02:10 +00:00
Florian Bouillon a2db003735
fix: Build error
Signed-off-by: Avior <github@avior.me>
2023-01-11 21:27:20 +01:00
..
2023-01-11 21:27:20 +01:00
2022-12-09 14:56:34 +01:00
2022-12-09 14:56:34 +01:00
2022-01-19 11:29:27 +01:00

TCGdex/server

The server running the TCGdex API.

Installing/Running

Using NodeJS/NPM

You will need NPM/NodeJS installed

  1. Install deps for both this directory and the parent directory
npm install
cd ..
npm install
cd server
  1. Compile the database
cd ..
npm run compile
cd server
npm run compile
  1. run the server !

Dev mode

npm run dev

Production mode

npm run build
npm run start

Using Docker

Go to the parent directory and build the Dockerfile!