/baseBackend

Example backend application with NodeJS + Express + Passport + OpenApi 3

Primary LanguageJavaScript

baseBackend

Example backend application with NodeJS + Express + Passport + OpenApi 3

create .env file with your settings.

Example:

PORT = 3007
DB_HOST = localhost
DB_PORT = 27017
DB_NAME = baseBackend
DB_USER = baseBackend
DB_PASS = baseBackend
REFRESH_EXPIRES_IN = 7d

https://habr.com/ru/post/559136/