sportsbet-promotions-app
v1.124.21
Published
``` npm install cp .env.example .env npm run dev ```
Downloads
238
Readme
Running development mode
npm install
cp .env.example .env
npm run dev
Running production mode
npm install
cp .env.example .env
npm run production
Environment variables
| Var Name | Description | Example | | --------------------------- | ------------------------------------------------------------------ | ------------------------------------------- | | SERVICE_PORT | | 5000 | | GRAPHQL_SERVER_URL | GraphQL endpoint: setting that env variable enables you to test your frontend code against the live stack | https://staging.sportsbet.io/graphql | | REDIS_URL | Used for cashed event data | redis://t2-cs-deps_redis.t2.testenv.io:6479 |
All available routes
Promotions route:
localhost:5000/promotions
Content routes:
localhost:5000/support
localhost:5000/about
localhost:5000/news
Loyalty route:
localhost:5000/clubhouse