Nest Server
Modern, fast, powerful Node.js web framework in TypeScript based on Nest with a GraphQL API and a connection to MongoDB (or other databases).
The lenne.tech nest server can be included as an npm package (npm i @lenne.tech/nest-server) or used directly as a project (git clone https://github.com/lenneTech/nest-server.git).
In combination with Angular (see lenne.Tech Angular example incl. ng-base) the Nest Server is an ideal basis for your next project.
Introduction
This nest server application was created by a German start up, in middle Germany.
Description
The lenne.Tech Nest Server is based on the Nest framework and can either be used and extended as a boilerplate (git clone) or integrated as a module (npm package).
Since the server is based on Nest, you can find all information about extending your server in the documentation of Nest.
We use Mongoose Module from nestjs. (https://docs.nestjs.com/techniques/mongodb)
To create a new Module with model, inputs, resolver and service you can use the CLI:
$ lt server module <ModuleName>
We are currently working on a documentation of the extensions and auxiliary classes that the lenne.Tech Nest Server contains. As long as this is not yet available, have a look at the source code. There you will find a lot of things that will help you to extend your server, such as:
- GraphQL scalars
- Filter and pagination
- Decorators for restrictions and roles
- Authorisation handling
- Ready to use user module
- Common helpers and helpers for tests
- ...
Feedback
We would love to hear from you. You can give us suggestions or report problems for this and future docs lenne.Tech.
More
We also share our Git repository feel free to visit!