Skip to content

ironcadiz/QA_challenge_API

Repository files navigation

Koa API Boilerplate (MC)

circleciB styleB

Requirements

  • Node >=8.5.0
  • Yarn >=1.0.1
  • Postgres

Install

Setup your database

$ sudo su postgres
$ createdb databaseName
$ exit

Also you may change the name of database in config/database.js

Clone this repo

$ git clone [email protected]:gsulloa/koa-boilerplate.git project
$ cd project

Setup your env vars

$ export DB_PASSWORD=securepassword

Alternatively with direnv

$ cp .envrc.example .envrc
$ nano .envrc
# modify the env var with your data

Start your server and code!

$ yarn dev

Using default Auth

Implemented authentication use JWT. To get it

$ git pull origin auth

About

Rankings for code quality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •