Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/serenity-kit/serenity-notes-backend
End-to-end encrypted collaborative notes app
https://github.com/serenity-kit/serenity-notes-backend
Last synced: 3 months ago
JSON representation
End-to-end encrypted collaborative notes app
- Host: GitHub
- URL: https://github.com/serenity-kit/serenity-notes-backend
- Owner: serenity-kit
- License: agpl-3.0
- Created: 2021-05-22T05:45:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-15T13:12:00.000Z (almost 2 years ago)
- Last Synced: 2024-06-21T15:06:10.498Z (5 months ago)
- Language: TypeScript
- Size: 327 KB
- Stars: 99
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - serenity-kit/serenity-notes-backend - End-to-end encrypted collaborative notes app (others)
README
# Serenity Notes Backend
End-to-end encrypted collaborative notes app
[https://www.serenity.re/en/notes](https://www.serenity.re/en/notes)
Security & technical details are documented at [https://www.serenity.re/en/notes/technical-documentation](https://www.serenity.re/en/notes/technical-documentation).
## Setup
```sh
yarn
yarn dev:db
# in another tab
psql
> CREATE USER prisma WITH PASSWORD 'prisma';
> ALTER USER prisma CREATEDB;
> exit
yarn prisma migrate dev
```## Development
```sh
yarn
yarn dev:db
# in another tab
yarn dev
```## Run tests
```sh
yarn test
# run single test
yarn test tests/oneTimeKey.test.ts
yarn test tests/integration.test.ts
```## Scripts
```sh
# create Paddle subscription
yarn ts-node-dev --transpile-only bin/paddleSubscriptionCreate.ts
```## License
Copyright 2021 Nikolaus Graf
Licensed under the [AGPLv3](https://www.gnu.org/licenses/agpl-3.0.html)