Deprecated: This repo's functionality has moved to the punkapi monorepo
January 21, 2020 ยท View on GitHub
PunkAPI - Server 
The PunkAPI server is a pretty simple Express app, its takes the data from punkapi-db and provides a set of filters and endpoints for the queries.
The data itself is stored in the punkapi-db repository and is available on npm as punkapi-db.
To run locally
Clone the repo $ git clone https://github.com/samjbmason/punkapi-server
Then run $ npm i and to spin up a local server run $ npm run dev, the site should now be available at http://localhost:3333
Deploying
Probably not very useful for anyone else!
- Run
$ npm run deploy - Run
$ npm run aliasto realias the domain toapi.punkapi.com