API code for https://api.produpedia.org
Build with mongoDB and TypeORM.
Please set up a mongoDB instance first. After that, follow instructions in .env.development and export the values from your .env.development.local
yourself. After that, you can yarn dev
or yarn build
/yarn start
or run one of the initializers (see dbpedia-import) with e.g. yarn ts-node -T initializers/dbpedia/attributes.ts
.
Example on Linux: set -a && . .env.development.local && set +a && yarn dev
Tests are currently not implemented.