Mongodb migration (#3)

* feat: mongodb migration

* doc: update

* fix: limit for api usage
This commit is contained in:
Artemy Egorov 2023-04-24 09:56:50 +03:00 committed by GitHub
parent 51c9922367
commit 0a3f5d40f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 316 additions and 38 deletions

View file

@ -1,2 +1,3 @@
PORT= 80 # port to listen on
KEY= 'yoursecretkey' # key to encrypt notes on the server
PORT=80 # port to listen on
MONGO_URI="your mongo uri" # "mongodb+srv://xxxx:yyyy@domain/zzzz?retryWrites=true&w=majority"
MONGO_DB="anopaper" # database name