Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 900 Bytes

README.md

File metadata and controls

51 lines (37 loc) · 900 Bytes

Serenity Notes Backend

End-to-end encrypted collaborative notes app

https://www.serenity.re/en/notes

Security & technical details are documented at https://www.serenity.re/en/notes/technical-documentation.

Setup

yarn
yarn dev:db
# in another tab
psql
> CREATE USER prisma WITH PASSWORD 'prisma';
> ALTER USER prisma CREATEDB;
> exit
yarn prisma migrate dev

Development

yarn
yarn dev:db
# in another tab
yarn dev

Run tests

yarn test
# run single test
yarn test tests/oneTimeKey.test.ts
yarn test tests/integration.test.ts

Scripts

# create Paddle subscription
yarn ts-node-dev --transpile-only bin/paddleSubscriptionCreate.ts

License

Copyright 2021 Nikolaus Graf

Licensed under the AGPLv3