0.0.19 • Published 6 years ago
walrus-api v0.0.19
walrus-api
The Koa client for api.walrus.ai.
Development
npm install
- Setup database (read more below)
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;