Skip to content

CRUD basics

This project is created using the crud-inline template via create-compas.

# Via NPM
npx create-compas@latest --template crud-inline

# Or with Yarn
yarn create compas --template crud-inline

Getting started

  • Start up the development Postgres and Minio instances
    • compas docker up
  • Apply the Postgres migrations
    • compas migrate
  • Regenerate router, validators, types, sql, etc.
    • compas run generate
  • Run the tests
    • compas test --serial
  • Start the API
    • compas run api