Skip to content
/ template Public template

A fully mature template for the development of web applications.

License

Notifications You must be signed in to change notification settings

EvergeneIO/template

Repository files navigation

Template

GitHub license Discord Discord

Usage

For the template you need a working PostgreSQL go to the PostgreSQL website.

Copy .env.example to .env

PORT=
HOST=""
ENV="dev"
LOG_LEVEL=

DATABASE_HOST=""
DATABASE_PORT=
DATABASE_USER=""
DATABASE_PASSWORD=""
DATABASE=""

# How long in SECCONDS you want the access token to be valid
ACCESS_TOKEN_LIVE_TIME=
# How long in SECCONDS you want the refresh token to be valid
REFRESH_TOKEN_LIVE_TIME=

LOGOUT_REDIRECT_URI=""

after that you can start the app with:

npm run dev