HACKER Q&A
📣 vatsadev

How can I make a static API?


how can i make a static api, like pokeapi.co


  👤 abdusco Accepted Answer ✓
Check out datasette. It helps you explore a SQLite database, and exposes an JSON API with almost no configuration. It has a GraphQL plugin if that's your thing.

All you have to do is dump your data into a SQLite database and serve it with datasette.


👤 bketelsen
json-server is my favorite tool to do this: https://www.npmjs.com/package/json-server

Just point it at a json data file and smile.


👤 yuppie_scum
Python flask