- Base framework: NestJS + Soluvas NestJS TypeScript Starter Kit
- Language: TypeScript on Node.js
- Web server framework: Fastify
- GraphQL API Server: Apollo Server +
apollo-server-fastify
+ Relay Connections - Database: MongoDB + Mongoose + Typegoose +
nestjs-typegoose
- Linting: ESLint + Prettier (NestJS stack)
- Unit Test: Jest + Supertest (NestJS stack)
- Model/entity helpers:
class-validator
- Configure
.env
using.env.dev
as template. - Run
npm run start:dev
- Test by opening the GraphQL Playground at http://localhost:3001/graphql
{
hello
projects {
pageInfo { hasNextPage, hasPreviousPage, startCursor, endCursor }
edges {
node {
id, name, slug
}
cursor
}
aggregate {
count
}
}
project(slug: "quakezone") {name}
}
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
For more information, check out Soluvas Open Source Low-Code Application Platform.