1.3.12 • Published 2 months ago
@mingsterism/trpc-user v1.3.12
@mingsterism/trpc-user
user trpc service to manage api and events
required
- create .env file with variables:
NPM_TOKEN=<npm-token>
PORT=<port>
APP_ENV=<app-env>
APP_BASE_URL=<app-base-url>
DATABASE_URL=<database-url>
SUPABASE_JWT_SECRET=<supabase-jwt-secret>
GOOGLE_CLIENT_ID=<google-client-id>
GOOGLE_CLIENT_SECRET=<google-client-secret>
GOOGLE_DRIVE_ROOT_FOLDER_NAME=<google-drive-root-folder-name>
ACL_MICROSERVICE_URL=<acl-microservice-url>
STRIPE_SECRET_KEY=<stripe-secret-api-key>
setup
# install dependencies
$ npm install
# run development app
$ npm run dev
# build production app
$ npm run build
# start production app
$ npm run start