TimurRK / Nestjs Example
NestJS example with GraphQL, Schema-Stitching, Dataloader, GraphQL Upload, RabbitMQ, Redis, Scalable Websocket and JWT authentication
Stars: ✭ 111
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to Nestjs Example
mom
Proof of concept for Message-Oriented-Middleware based architecture.
Stars: ✭ 39 (-64.86%)
Mutual labels: amqp, socket-io, nestjs
Nest Angular
NestJS, Angular 6, Server Side Rendering (Angular Universal), GraphQL, JWT (JSON Web Tokens) and Facebook/Twitter/Google Authentication, Mongoose, MongoDB, Webpack, TypeScript
Stars: ✭ 307 (+176.58%)
Mutual labels: graphql, nestjs, jwt-authentication
Parabol
Free online agile retrospective meeting tool
Stars: ✭ 1,145 (+931.53%)
Mutual labels: graphql, redis
Genal Chat
🐱🏍阿童木聊天室 nestjs+vue全栈聊天室 前后端分离 typescript一把梭
Stars: ✭ 1,105 (+895.5%)
Mutual labels: nestjs, socket-io
Postgraphile Nest
GraphQL (PostGraphile) module for Nest framework (node.js)
Stars: ✭ 43 (-61.26%)
Mutual labels: graphql, nestjs
Spring Boot Oauth2 Jwt Swagger Ui
Spring Boot , OAuth 2 , JWT (Json Web Token) and Swagger UI
Stars: ✭ 77 (-30.63%)
Mutual labels: oauth2, jwt-authentication
Socket.io Python Emitter
Python implementation of socket.io-emitter
Stars: ✭ 67 (-39.64%)
Mutual labels: redis, socket-io
Nestjs Cqrs Starter
NestJS CQRS Microservices Starter Project
Stars: ✭ 80 (-27.93%)
Mutual labels: graphql, nestjs
Newschool Backend
Plataforma de ensino para pessoas carentes
Stars: ✭ 98 (-11.71%)
Mutual labels: nestjs, oauth2
Typeorm Graphql Loader
A query builder to easily resolve nested fields and relations for TypeORM-based GraphQL servers
Stars: ✭ 47 (-57.66%)
Mutual labels: graphql, dataloader
Yii2 Async
Provides translucent api & queues for moving large tasks out of request context with SQL, Redis or AMQP.
Stars: ✭ 64 (-42.34%)
Mutual labels: redis, amqp
Tinder Clone
Fullstack Tinder app clone made with React/Ts/Nest
Stars: ✭ 43 (-61.26%)
Mutual labels: graphql, nestjs
Type Graphql Dataloader
TypeGraphQL + DataLoader + TypeORM made easy
Stars: ✭ 73 (-34.23%)
Mutual labels: graphql, dataloader
Sacrificial Socket
A Go websocket library with an API similar to Socket.IO... but not Socket.IO
Stars: ✭ 96 (-13.51%)
Mutual labels: redis, socket-io
Nestjs Dataloader
Dataloader plugin for NestJS
Stars: ✭ 97 (-12.61%)
Mutual labels: dataloader, nestjs
Production Ready Expressjs Server
Express.js server that implements production-ready error handling and logging following latest best practices.
Stars: ✭ 101 (-9.01%)
Mutual labels: graphql, redis
NestJS
Description
Nest framework TypeScript starter repository.
Support
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
NestJS-Example
Dependencies
Installation
npm i
DB Settings
Create DB
sudo -i -u postgres
createdb nestjs_example_${env}
Create new migration
npm run db:migration:create -- ${migration_name}
Run migration
NODE_ENV=${env} npm run db:migration:run
| Note: you need to specify env
only for development
Sync db schema
NODE_ENV=${env} npm run db:schema:sync
| Note: you need to specify env
only for development
Running the app
development
npm run start:dev
beta
npm run build
npm run start:beta
prod
npm run build
npm run start:prod
Running the app with docker
docker network create nestjs_example_network
Update config.json:
"DB_SETTINGS": {
"host": "db", // service name from docker-compose.yml
"port": 5432, // service port from docker-compose.yml
...
},
...
"REDIS_SETTINGS": {
"host": "redis", // service name from docker-compose.yml
"port": 6379, // service port from docker-compose.yml
...
},
Build and run container
docker-compose -f docker-compose.yml up --build
After creating containers, create a database
docker-compose -f docker-compose.yml exec db sh
createdb nestjs_example_$ENV -U postgres
After create database, run db:schema:sync
docker-compose -f docker-compose.yml exec beta-web sh
npm run db:schema:sync
After restart the containers
docker-compose -f docker-compose.yml up
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].