Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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,
}
```