0.0.19 • Published 6 years ago

walrus-api v0.0.19

Weekly downloads
-
License
-
Repository
-
Last release
6 years ago

walrus-api

The Koa client for api.walrus.ai.

Development

  1. npm install
  2. Setup database (read more below)
  3. npm run dev

This will build the server, run any outstanding DB migrations, and then begin serving the API at http://localhost:3000.

Setup Database Locally

Assuming you have Postgres installed and running locally, all you need to do is run the following:

psql -d postgres
CREATE ROLE WALRUS WITH LOGIN, ENCRYPTED PASSWORD 'walrus2131';
CREATE DATABASE WALRUS WITH OWNER WALRUS;