Atinux / nuxt-heroes-api

API for nuxt-heroes

Home Page:https://api.heroes.nuxtjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

marvel-vs-dc

nuxt-heroes-api

Marvel vs Avengers Heroes API (demo for JS Heroes), built with Mono.

Front-end with Nuxt.js: https://github.com/Atinux/nuxt-heroes

Setup

You need MongoDB installed (> v3.4.0)

yarn # or npm instal
yarn dev # or npm run dev

Deployment

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>

About

API for nuxt-heroes

https://api.heroes.nuxtjs.org


Languages

Language:JavaScript 100.0%