1.0.4 • Published 10 months ago
sportsbet-blog-cms-proxy v1.0.4
sportsbet-blog-cms-proxy
This reporsitory serves as a proxy to the sportsbet blog CMS
Configuring the application
Requirements
Node 16
To run application locally
- Clone this repository
Run:
npm install
npm run copy-env
npm run compile
npm run dev
Scripts
Command | Description |
---|---|
npm run dev | Start application in dev mode (with auto reload enabled) |
npm run generate:schema | Generates a schema.graphql file for the CMS gql endpoint in your .env file |
npm run codegen | generates a ts types file from the schema.graphqql file |
npm start | Starts application with auto reload disabled and runs server on port 1337 (by default) |