Skip to content

Latest commit

 

History

History
79 lines (59 loc) · 2.18 KB

README.md

File metadata and controls

79 lines (59 loc) · 2.18 KB

Soluvas NestJS TypeScript Starter Kit

Soluvas NestJS TypeScript Starter Kit (Target Platform) is an open source boilerplate API backend using NestJS framework, including Apollo GraphQL Server and MongoDB support.

Tech Stack

Setup

  1. Configure .env using .env.dev as template.
  2. Run npm run start:dev
  3. Test by opening the GraphQL Playground at http://localhost:3111/graphql
{
  hello
  projects {
    pageInfo { hasNextPage, hasPreviousPage, startCursor, endCursor }
    edges { 
      node {
        id, name, slug
      }
      cursor
    }
    aggregate {
      count
    }    
  }
  project(slug: "quakezone") {name}
}

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

License

Soluvas NestJS Boilerplate is open source, licensed under Apache License Version 2.0.

Soluvas Open Source Low-Code Application Platform

For more information, check out Soluvas Open Source Low-Code Application Platform.