All Projects → jiayisheji → ng-nest-cnode

jiayisheji / ng-nest-cnode

Licence: MIT license
Angular 10 Front-End and Nestjs 7 framework Back-End build Fullstack CNode

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects
HTML
75241 projects
SCSS
7915 projects

Projects that are alternatives of or similar to ng-nest-cnode

nestjs-rest-sample
NestJS RESTful APIs Sample
Stars: ✭ 204 (+1100%)
Mutual labels:  rxjs, mongoose, expressjs, nestjs
Nest Mean
NestJS Tutorial Repository
Stars: ✭ 250 (+1370.59%)
Mutual labels:  mongoose, expressjs, nestjs
Builderbook
Open source web application to learn JS stack: React, Material-UI, Next.js, Node.js, Express.js, Mongoose, MongoDB database.
Stars: ✭ 3,015 (+17635.29%)
Mutual labels:  mongoose, expressjs, passport
Nest User Auth
A starter build for a back end which implements managing users with MongoDB, Mongoose, NestJS, Passport-JWT, and GraphQL.
Stars: ✭ 145 (+752.94%)
Mutual labels:  jest, mongoose, 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 (+1705.88%)
Mutual labels:  mongoose, passport, nestjs
Mern Boilerplate
Fullstack boilerplate with React, Redux, Express, Mongoose, Passport Local, JWT, Facebook and Google OAuth out of the box.
Stars: ✭ 112 (+558.82%)
Mutual labels:  mongoose, passport, fullstack
Nodejs Backend Architecture Typescript
Node.js Backend Architecture Typescript - Learn to build a backend server for Blogging platform like Medium, FreeCodeCamp, MindOrks, AfterAcademy - Learn to write unit and integration tests - Learn to use Docker image - Open-Source Project By AfterAcademy
Stars: ✭ 1,292 (+7500%)
Mutual labels:  jest, mongoose, expressjs
node-express-mongo-passport-jwt-typescript
A Node.js back end web application with REST API, user JWT authentication and MongoDB data storage using TypeScript
Stars: ✭ 51 (+200%)
Mutual labels:  mongoose, expressjs, passport
kanban-project-management
Web Application to manage software development projects.
Stars: ✭ 39 (+129.41%)
Mutual labels:  rxjs, mongoose, nestjs
nestjs-api-mongoose
Collection example apps with NestJS and Typeorm, Sequelize, Mongodb, PostgreSQL, MySQL, GraphQL, Mercurius, etc. for the NestJS community 😻
Stars: ✭ 153 (+800%)
Mutual labels:  mongoose, typeorm, nestjs
renestql
React, NestJS & GraphQL monorepo boilerplate managed with nx
Stars: ✭ 25 (+47.06%)
Mutual labels:  typeorm, nx, nestjs
Jianshu
仿简书nx+nodejs+nestjs6+express+mongodb+angular8+爬虫
Stars: ✭ 296 (+1641.18%)
Mutual labels:  mongoose, passport, nestjs
Mevn Boilerplate
A fullstack boilerplate with Mongo, ExpressJS, VueJS and NodeJS.
Stars: ✭ 277 (+1529.41%)
Mutual labels:  mongoose, expressjs, fullstack
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (+758.82%)
Mutual labels:  mongoose, expressjs, passport
Books-Library-API
A starter template for building a restful API with nestjs, nodejs , expressjs , monogdb, mongoose
Stars: ✭ 21 (+23.53%)
Mutual labels:  mongoose, expressjs, nestjs
ack-nestjs-mongoose
NestJs Boilerplate. Authentication (OAuth2), Mongoose, MongoDB , Configuration, Multi Languages (i18n), etc. Advance Example 🥶. NestJs v8 🥳🎉. Production Ready 🚀🔥
Stars: ✭ 81 (+376.47%)
Mutual labels:  jest, mongoose, nestjs
mean-stack
MEAN stack Mongoose, Express, Angular6, Node
Stars: ✭ 22 (+29.41%)
Mutual labels:  mongoose, expressjs, fullstack
react-full-stack-starter
🎈Full-stack React boilerplate using `create-react-app`, Babel, Node.js, and express
Stars: ✭ 22 (+29.41%)
Mutual labels:  mongoose, expressjs, fullstack
Blog Service
blog service @nestjs
Stars: ✭ 188 (+1005.88%)
Mutual labels:  jest, mongoose, nestjs
amazin
A MERN-stack app for eCommerce platform, Webshop, Web Store. Storybook: https://www.amazin.one/ Alternative: https://ntrix.github.io/amazin-story
Stars: ✭ 27 (+58.82%)
Mutual labels:  mongoose, cypress, nx

ng-nest-cnode

A simple application demonstrating Angular (SPA, SSR) the basic usage of permissions with NestJS (JWT, Passport, Github, User, Group, Permission) based on CNode template.

Related Technology

  • NestJS - a JS backend framework providing architecture out of the box with a syntax similar to Angular
  • Angular - a JS frontend framework created by Google
  • Angular Universal - a JS frontend framework created by Google
  • Material-ui - Material Design components for Angular
  • TypeScript - reactive extensions for JavaScript
  • RxJS - superset of JS which compiles to JS, providing compile-time type checking
  • MongoDB - a NoSQL database
  • Mongoose - MongoDB object modeling designed to work in an asynchronous environment
  • TypeORM - ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, WebSQL databases.
  • Ioredis - A robust, performance-focused and full-featured Redis client for Node.js.
  • Passport - a popular library used to implement JavaScript authentication
  • jsonwebtoken - a JavaScript json web tokens implementation by auth0
  • @nrwl/schematics - Angular CLI power-ups for modern development

Features

  • Use the Mongoose(Typegoose) connect MongoDB
  • Use the Ioredis connect Redis
  • Use JWT for authentication
  • Support github authentication login
  • Super easy to install and start using the full-featured controllers and services
  • DB and service agnostic extendable CRUD controllers
  • Reach query parsing with filtering, pagination, sorting, relations, nested relations, cache, etc.
  • Framework agnostic package with query builder for a frontend usage
  • Query, path params and DTO validation included
  • Overriding controller methods with ease
  • Tiny config (including globally)
  • Additional helper decorators
  • Swagger documentation
  • Support Angular server rendering
  • Support Angular responsive presentation
  • Support Domain-Driven Design

Running the project

These instructions should be sufficient for one to get the project going on their local machine

Installing core dependencies

  • make sure you have node.js installed version 12.13+

Installing DB dependencies

  • make sure you have MongoDB installed version 3.4+
  • make sure you have Redis installed version 3.2+

Docker Installing DB dependencies

Cloning the github repository

To clone the project, run

git clone https://github.com/jiayisheji/ng-nest-cnode.git

Installing the dependencies

To install the dependencies after you've cloned the project, go to its root folder and run

cd ng-nest-cnode && npm install

Setting environment variables

cp .env.example  .env

Modify the corresponding values as required

Starting the MongoDB and Redis

Once you start the database application, you are ready to run the server

Boot according to your system

Notice that the server uses MongoDB and Redis so we need to have a MongoDB and Redis instance running so the server can connect to it。

If you use Docker:

docker-compose up -d

Alternative commands

If you need to work on the frontend and backend parts at the same time, you can run

npm start

Then, you can go to the Angular dev server at port 4200 and test server requests (to port 3000), we got a proxy to the backend

If you only need to work on the frontend, you can run

npm run start client

Alternatively, if you only need to work on the backend, you can run

npm run start server

Keeping in mind that you need to have the Angular app built and a MongoDB and Redis connection established

Documentation

Support

Any support is welcome. At least you can give us a star

Browser Support

Chrome
Chrome
Firefox
Firefox
IE / Edge
IE / Edge
Safari
Safari
Opera
Opera
last 2 versions last 2 versions IE11, Edge last 2 versions last 2 versions

License

MIT

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].