1.0.4 • Published 10 months ago

sportsbet-blog-cms-proxy v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

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

CommandDescription
npm run devStart application in dev mode (with auto reload enabled)
npm run generate:schemaGenerates a schema.graphql file for the CMS gql endpoint in your .env file
npm run codegengenerates a ts types file from the schema.graphqql file
npm startStarts application with auto reload disabled and runs server on port 1337 (by default)