node-express-mongodb-jwt-rest-api-skeleton
Version:
Node.js express.js MongoDB JWT REST API - This is a basic API REST skeleton written on JavaScript using async/await. Great for building a starter web API for your front-end (Android, iOS, Vue, react, angular, or anything that can consume an API)
22 lines (21 loc) • 351 B
YAML
dist: xenial
language: node_js
node_js:
- '12'
cache:
npm: true
services:
- mongodb
before_script:
- cp .env.example .env
env:
- NODE_ENV=test
if: tag IS present
deploy:
provider: npm
email: $NPM_EMAIL
api_key: $NPM_DEPLOY_TOKEN
on:
branch: master
tags: true
repo: davellanedam/node-express-mongodb-jwt-rest-api-skeleton