Skip to content

kunjaltandel24/image-gallery

Repository files navigation

Image Gallery Backend

required services

  • Stripe Account
    • secret_key key is required in backend
    • complete the platform profile to enable connected accounts for payout to image owners
    • create endpoint for checkout session webhook event and copy the secret and paste it in .env file
    • For now Coupons can be created only from stripe dashboard.
  • SMTP Service AWS/any
    • SES_HOST SMTP host is required to send outgoing mail request.
    • SES_EMAIL any email enable in your enabled in your Mail Server of SMTP host.
    • if aws then required access_key as user and secret_access_key as password to SMTP service
  • MongoDB connection string from local/atlas is required

Build Setup

# add env
$ cp sample.env .env // fill all variables with approprite values[dont use sample config values in production]

# install dependencies
$ npm install

# build
$ npm run build

# starts node process
$ npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published