Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maximemoreillon/mongoose_crud_rest_api
https://github.com/maximemoreillon/mongoose_crud_rest_api
express mongoose nodejs
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/maximemoreillon/mongoose_crud_rest_api
- Owner: maximemoreillon
- Created: 2021-03-26T04:06:21.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-31T23:12:41.000Z (7 months ago)
- Last Synced: 2024-06-01T00:22:51.146Z (7 months ago)
- Topics: express, mongoose, nodejs
- Language: TypeScript
- Homepage:
- Size: 289 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mongoose CRUD REST API
CRUD operatons using Mongoose, via a REST API built with Express.
## Schema
### Movie
```
{
title: String,
director: { type: Types.ObjectId, ref: 'Person' },
}
```### Person
```
{
name: String,
age: Number,
}
```