Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 892 Bytes

File metadata and controls

41 lines (27 loc) · 892 Bytes

Example: Tasks API

This example application was created for the guide 'Building REST APIs with Platformatic DB'.

Requirements

Platformatic supports macOS, Linux and Windows (WSL recommended). You'll need to have Node.js >= v16.17.0 or >= v18.8.0

Setup

  1. Install dependencies:
npm install
  1. Apply migrations:
npx platformatic db migrations apply
  1. Seed the database:
npx platformatic db seed seed.js

Usage

Run the API with:

npm start

Explore