kajlund / Sayings

Your favorite proverbs API and App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sayings API and App

The server is implemented as a Node.js/Express server using the Knex.js query builder for querying a SQL database.

Database Migrations

  • Create migration: npx knex --knexfile=./src/db/knexfile.js migrate:make <name>
  • Run all migrations: npx knex --knexfile ./src/db/knexfile.js migrate:latest
  • Rollback all: npx knex --knexfile ./src/db/knexfile.js migrate:rollback --all
  • Create Seed: npx knex --knexfile ./src/db/knexfile.js seed:make <name>
  • Run Seed: npx knex --knexfile=./src/db/knexfile.js seed:run

Resources

ToDos

  • [] Add tests forconfig and error handler

About

Your favorite proverbs API and App


Languages

Language:JavaScript 100.0%