Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

sammdec/punkapi-server

Repository files navigation

Deprecated: This repo's functionality has moved to the punkapi monorepo

PunkAPI - Server Build Status

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 alias to realias the domain to api.punkapi.com

About

The server that powers the API at punkapi.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published