Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.11 KB

readme.md

File metadata and controls

34 lines (21 loc) · 1.11 KB

PSN-node

APIs for fetching psn trophy information. Related front-end project, see: PSN-node-displayer

Doc

https://ps-trophy.onrender.com/doc

Notice

  • All data fetched from playstation API will be cached in Redis for reducing requests to playstation API.
  • Those data will be stale after 24 hours, before that you get the cached data.
  • If you don't have a Redis instance, try free one (memory limit 30MB) on redislabs
  • After 2.0.0, NPSSO should be setted by /configs/npsso api.

How to get NPSSO

How to deploy

  • Prerequisite: prepare your Redis instance and NPSSO
  • Complete .env.sample and rename it to .env
  • npm run start

Serverless function

Files in api folder is used for serverless function. If you use free database, it may not work well due to insufficient connection.

Thanks