Skip to content

CRUD basics

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

shell
# Via NPM
npx create-compas@latest --template crud-basic

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

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