Skip to content

Simple demo plugin-based architecture using typescript and graphql powered by NestJS, Knex.js & Objection.js (backend-only)

Notifications You must be signed in to change notification settings

Aldnoah-Labs/basse

Repository files navigation

Description

NestJS project

Installation

$ yarn install

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

Migration

# migrate to latest
$ yarn migrate

# make migration
$ yarn migrate:make <name>

# rollback all
$ yarn knex migrate:rollback --all

Seed

# perform seed all
$ yarn seed

# make seed
$ yarn seed:make <name>

Before start the app

  • copy .env.example to .env
  • create database on mysql

Open graphql

  • in browser goto localhost:3000/graphql

About

Simple demo plugin-based architecture using typescript and graphql powered by NestJS, Knex.js & Objection.js (backend-only)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published