@dm3-org/dm3-backend
TypeScript icon, indicating that this package has built-in type declarations

1.6.0 • Public • Published

dm3-backend

Getting Started

Build

cd ../../ && yarn build

Contributing

Whenever the prisma schema is updated, run the following command to generate the types:

  1. prisma-create-migrations: this will add a new migration to the migrations folder, which will be committed to the repository. Our server environments do not generate the migrations on the fly, so we need to commit the migration to the repository. This requires a running database, so make sure to have the database running before running this command.
  2. prisma-generate: this will generate the types for the prisma schema (and the client). This step is executed automatically when running on the server.

Fogetting step #1 will result in the server not being able to start, as the types will be missing.

Usage

yarn

yarn start

Readme

Keywords

none

Package Sidebar

Install

npm i @dm3-org/dm3-backend

Weekly Downloads

10

Version

1.6.0

License

BSD-2-Clause

Unpacked Size

2.67 MB

Total Files

554

Last publish

Collaborators

  • alexcv
  • stkux