All Projects → tomanagle → Mongoose Typescript Example

tomanagle / Mongoose Typescript Example

Licence: mit

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Mongoose Typescript Example

Node Express Boilerplate
A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose
Stars: ✭ 890 (+470.51%)
Mutual labels:  mongoose, mongodb, jest
Blog Service
blog service @nestjs
Stars: ✭ 188 (+20.51%)
Mutual labels:  mongoose, mongodb, jest
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 (+728.21%)
Mutual labels:  mongoose, mongodb, jest
Typescript Express Starter
🚀 TypeScript Express Starter
Stars: ✭ 238 (+52.56%)
Mutual labels:  mongoose, mongodb, jest
Nest User Auth
A starter build for a back end which implements managing users with MongoDB, Mongoose, NestJS, Passport-JWT, and GraphQL.
Stars: ✭ 145 (-7.05%)
Mutual labels:  mongoose, mongodb, jest
Fullstack Shopping Cart
MERN stack shopping cart, written in TypeScript
Stars: ✭ 82 (-47.44%)
Mutual labels:  mongoose, mongodb, jest
Rest
REST API generator with Node.js, Express and Mongoose
Stars: ✭ 1,663 (+966.03%)
Mutual labels:  mongoose, mongodb, jest
A Crash Course On Serverless Auth
A short and easy boilerplate showcasing JWT auth with Nodejs, the Serverless framework, MongoDB and AWS Lambda.
Stars: ✭ 127 (-18.59%)
Mutual labels:  mongoose, mongodb
Questionnaire
📋 问卷系统
Stars: ✭ 128 (-17.95%)
Mutual labels:  mongoose, mongodb
Next Graphql Blog
🖊 A Blog including a server and a client. Server is built with Node, Express & a customized GraphQL-yoga server. Client is built with React, Next js & Apollo client.
Stars: ✭ 152 (-2.56%)
Mutual labels:  mongoose, mongodb
Fastify Api
A blazing fast REST APIs with Node.js, MongoDB, Fastify and Swagger.
Stars: ✭ 138 (-11.54%)
Mutual labels:  mongoose, mongodb
Koa Vue Fullstack
A lightweight boilerplate for a universal webapp based on koa, mongodb, node, vue, and webpack
Stars: ✭ 126 (-19.23%)
Mutual labels:  mongoose, mongodb
Waftengine
MERN Stack Engine
Stars: ✭ 126 (-19.23%)
Mutual labels:  mongoose, mongodb
Nodejs Rest Api Project Structure Express
Nodejs project structure practices for building RESTful APIs using Express framework and MongoDB.
Stars: ✭ 134 (-14.1%)
Mutual labels:  mongoose, mongodb
Nest Cnode
CNode 社区 Nest 版本 https://cnodejs.org/
Stars: ✭ 125 (-19.87%)
Mutual labels:  mongoose, mongodb
Monitaure
🔔 A server uptime monitoring progressive web application - NO LONGER MAINTAINED
Stars: ✭ 135 (-13.46%)
Mutual labels:  mongodb, jest
Apollo2 Subscriptions How To
Apollo Server 2 how to setup subscriptions
Stars: ✭ 125 (-19.87%)
Mutual labels:  mongoose, mongodb
Node Elm
基于 node.js + Mongodb 构建的后台系统
Stars: ✭ 11,224 (+7094.87%)
Mutual labels:  mongoose, mongodb
Api Query Params
Convert URL query parameters to MongoDB queries
Stars: ✭ 141 (-9.62%)
Mutual labels:  mongoose, mongodb
Koa Restful Boilerplate
Koa 2 RESTful API boilerplate
Stars: ✭ 146 (-6.41%)
Mutual labels:  mongoose, mongodb

Mongoose TypeScript example

Known Vulnerabilities GitHub stars GitHub license GitHub forks

This repo is example code that goes along with this medium aticle: https://medium.com/@tomanagle/strongly-typed-models-with-mongoose-and-typescript-7bc2f7197722

If you prefer a video: https://www.youtube.com/watch?v=GZ1dKq2Wg1Y

The article explains how to use use TypeScript with your Mongoose models.

If something in the article or this repo needsfurther explanation or improvements, please sumit a pull request.

Testing

yarn test

The test command will setup a mongodb test server, connect to it, run your tests and the server will go through a teardown process to clean up all remaining listners.

Development

yarn dev

The run dev command will start the server and listen on the configured port. The port can be configured in ./src/index.ts

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