API for nuxt-heroes
Marvel vs Avengers Heroes API (demo for JS Heroes), built with Mono.
Front-end with Nuxt.js: https://github.com/Atinux/nuxt-heroes
You need MongoDB installed (> v3.4.0)
yarn # or npm instal
yarn dev # or npm run dev
Please run npm start
with the following envs:
NODE_ENV=production
MONGO_URI=<YOUR_DB_URI>
MONGO_DB=<YOUR_DB_NAME>
MONO_JWT_SECRET=<YOUR_JWT_SECRET_STRING>
GITHUB_CLIENT_ID=<YOUR_GH_CLIENT_ID>
GITHUB_CLIENT_SECRET=<YOUR_GH_CLIENT_SECRET>