Public API consumed by https://bestofjs.org/ web application.
Stack:
projects/:owner/:repo
: retrieve details about a given repository: daily trends, packages size, bundle size...projects/:owner/:repo/user-link
: the list of reviews and links, related to a given GitHub projectAdd MongoDB credentials in .env
file, at the root level
MONGO_URI_DEV=mongodb://***:***@d***:*****/*****
npm start
To see debug messages:
DEBUG=api npm start
To see all debug messages, including those from FeathersJS
DEBUG=* npm start
Check the result for Redux project, for example: http://localhost:3030/projects/reactjs/redux
Register database credentials as Now "secrets".
To deploy on now.sh
run:
npm run deploy
npm test