Skip to content

Backend business logic binding all other E.V.A. Gallery components together

Notifications You must be signed in to change notification settings

eva-gallery/backend

Repository files navigation

E.V.A. Gallery Backend Setup

example .env config

# port on which backend runs
PORT=3000
# address of postgres db
POSTGRES_HOST=127.0.0.1
# port of postgres db
POSTGRES_PORT=5432
# username of postgres db
POSTGRES_USER=postgres
# password of postgres user
POSTGRES_PASSWORD=don't give away your secret!
# main database
POSTGRES_DATABASE=eva-gallery
# duration in seconds until inactive user's session expires
SESSION_LIFETIME=600
# log incoming requests including url, response status and duration
LOG_REQUESTS=true
# URL for NFT MODULE
NFT_MODULE_URL=http://localhost:3000
#Subscan URL
SUBSCAN_URL=https://assethub-kusama.subscan.io

migrations

npm run migration:generate ./src/migrations/$MIGRATION_NAME
npm run migration:run

About

Backend business logic binding all other E.V.A. Gallery components together

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages