An API for generating cards based on the game Inscryption.
- Tribes, Temples, Skills and Cards CRUD
- Schema validation through Mongoose
- Filtering of cards by rarity, tribe, temple or skill
If you just want to see the project in action, I recommend using Docker for a quicker setup:
# clone the project
git clone git@github.com:splorg/card-generator-api.git
# move to the project folder
cd card-generator-api
# run docker-compose
docker compose up -d
The API will now be available on http://localhost:3000/
If you want to run the project locally, you will need Node.js installed and a MongoDB database.
# clone the project
git clone git@github.com:splorg/card-generator-api.git
# move to the project folder
cd card-generator-api
# rename ".env.example" to ".env"
# add to .env your MongoDB connection string and the port you want to use
# install the project dependencies:
npm i
# start the project
npm run dev