/api.zani.wtf

API for my website (https://zani.wtf)

Primary LanguageTypeScriptMIT LicenseMIT

api.zani.wtf

API server for https://zani.wtf

Running

Create a .env file with the following contents

GEN_BOT=... # bot id for image generation

DISCORD_TOKEN=... # discord bot token
GEN_CHANNEL_ID=... # channel to generate images in

MONGO_URI=... # mongodb uri
DEV_MONGO_URI=... # mongodb uri for dev (optional)

Then run

npm install
npm run build
npm run start