Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amarjanica/demo-mongoose-typescript

Demo project that shows how you can configure Mongoose to use in Typescript
https://github.com/amarjanica/demo-mongoose-typescript

geospatial mongoose recursive-queries typescript

Last synced: about 22 hours ago
JSON representation

Demo project that shows how you can configure Mongoose to use in Typescript

Awesome Lists containing this project

README

        

# Demo Mongoose Typescript

[![Continuous Integration](https://github.com/amarjanica/demo-mongoose-typescript/actions/workflows/ci.yml/badge.svg)](https://github.com/amarjanica/demo-mongoose-typescript/actions/workflows/ci.yml)

Demo project that shows how you can configure Mongoose to use in a Typescript project:
- cache your connections
- unit test with mongodb-memory-server
- do geospatial and recursive queries
- publish a private npm package

Entire process is documented in [Working with Mongoose and Typescript](https://www.amarjanica.com/working-with-mongoose-typescript-and-gis).

[![](https://markdown-videos.deta.dev/youtube/mYslIfyb-Y0)](https://youtu.be/mYslIfyb-Y0)

![Schema example](https://www.amarjanica.com/wp-content/uploads/2022/11/Screenshot-from-2022-11-15-19-55-30.png)