An open API service indexing awesome lists of open source software.

https://github.com/atinux/nuxt-heroes-api

API for nuxt-heroes
https://github.com/atinux/nuxt-heroes-api

Last synced: 10 months ago
JSON representation

API for nuxt-heroes

Awesome Lists containing this project

README

          

![marvel-vs-dc](https://user-images.githubusercontent.com/904724/38923201-5649f35e-42fa-11e8-890a-30eec5a8e4ba.png)

# nuxt-heroes-api

> Marvel vs Avengers Heroes API (demo for JS Heroes), built with [Mono](https://github.com/terrajs/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=
MONGO_DB=
MONO_JWT_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
```