Melete is an api that allows you to query data related to philosophy that has been scraped from Wikipedia. API documentation and demos available at https://meleteapi.dev
- install docker for your platform
- clone or fork the repo
- start docker and run
docker compose up
You can run the following scripts in docker using docker exec.
npm run crawl
starts the web-crawler which generates seed files for the database- The web crawler is multi-threaded, increasing the number of CPUs Docker has access to will speed up the crawl
npx primsa migrate deploy
creates the database and applies migrationsnpx prisma db seed
seeds the database with the content inprisma/seeds
npm run watch
starts the typescript compiler in watch mode. Any .ts file under src will be compiled