All Projects → xurei → restgoose

xurei / restgoose

Licence: Apache-2.0 license
Model-driven REST API framework using decorators

Programming Languages

typescript
32286 projects
shell
77523 projects

Projects that are alternatives of or similar to restgoose

Nodepress
😎 RESTful API service for Blog/CMS, powered by @nestjs
Stars: ✭ 829 (+2860.71%)
Mutual labels:  mongoose, restful-api
dhan-gaadi
A complete online bus reservation system (Node, React, Mongo, NextJS, ReactNative)
Stars: ✭ 207 (+639.29%)
Mutual labels:  mongoose, restful-api
Mongoose Model Decorators
ES2016 decorator functions for building Mongoose models
Stars: ✭ 11 (-60.71%)
Mutual labels:  mongoose, decorators
express-typescript-mongoose-starter
A starter for Node JS, Express, Typescript, Mongoose application
Stars: ✭ 22 (-21.43%)
Mutual labels:  mongoose, restful-api
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (+421.43%)
Mutual labels:  mongoose, restful-api
server-next
😎 The next generation of RESTful API service and more for Mix Space, powered by @nestjs.
Stars: ✭ 43 (+53.57%)
Mutual labels:  mongoose, restful-api
Appy Backend
A user system to bootstrap your app.
Stars: ✭ 96 (+242.86%)
Mutual labels:  mongoose, restful-api
dhiwise-nodejs
DhiWise Node.js API generator allows you to instantly generate secure REST APIs. Just supply your database schema to DhiWise, and a fully documented CRUD APIs will be ready for consumption in a few simple clicks. The generated code is clean, scalable, and customizable.
Stars: ✭ 224 (+700%)
Mutual labels:  mongoose, restful-api
Nodejs Rest Api Project Structure Express
Nodejs project structure practices for building RESTful APIs using Express framework and MongoDB.
Stars: ✭ 134 (+378.57%)
Mutual labels:  mongoose, restful-api
Angular Cms
An flexiable, extendable, modular, single CMS app based on Angular, Express, MongoDB
Stars: ✭ 109 (+289.29%)
Mutual labels:  mongoose, decorators
yelp-camp
A Node.js web application project from the Udemy course - The Web Developer Bootcamp by Colt Steele
Stars: ✭ 36 (+28.57%)
Mutual labels:  mongoose, restful-api
Nestjs Mongoose Crud
Nest.js crud module for mongoose models without `nestjsx/crud`
Stars: ✭ 164 (+485.71%)
Mutual labels:  mongoose, restful-api
NodeRestApi
Node.js, Express.js and MongoDB REST API App
Stars: ✭ 38 (+35.71%)
Mutual labels:  mongoose, restful-api
Jianshu
仿简书nx+nodejs+nestjs6+express+mongodb+angular8+爬虫
Stars: ✭ 296 (+957.14%)
Mutual labels:  mongoose, restful-api
node-server
(@nestjs refactoring)⚡️My personal website's api server, a RESTful application that powered by @eggjs
Stars: ✭ 17 (-39.29%)
Mutual labels:  mongoose, restful-api
Tvrboreact
Dream starter project: React, Redux, React Router, Webpack
Stars: ✭ 13 (-53.57%)
Mutual labels:  mongoose, decorators
react-nodejs-mongodb-crud
👨‍💻 Fullstack web app built with MongoDB, NodeJs, React and Redux. Features: Protected routes client/server side, MaterialUI layout
Stars: ✭ 91 (+225%)
Mutual labels:  mongoose, restful-api
docker-node-express-boilerplate
Boilerplate for quickly bootstrapping production-ready RESTful APIs / microservices
Stars: ✭ 113 (+303.57%)
Mutual labels:  mongoose, restful-api
Ecommerce Nodejs
Ecommerce application back-end codes
Stars: ✭ 97 (+246.43%)
Mutual labels:  mongoose, restful-api
Nauth Restful Api
Node.js+Mongoose的RestfulApi的用户token权限验证(just a demo)
Stars: ✭ 155 (+453.57%)
Mutual labels:  mongoose, restful-api

Restgoose

Modern REST API framework. https://xurei.github.io/restgoose

npm version wercker status codecov Codacy Badge

CII Best Practices npms score reddit

wercker status

MongoDB + Typescript + Restgoose = ❤️

Restgoose exposes your MongoDB database through a REST API with ease. It is driven by the model itself, which reduces the boilerplate code necessary to write simple endpoints. It is open for extension, so you can add complex logic easily too.

Installation

npm install @xureilab/restgoose

Minimal usage

This creates the typical CRUD endpoints on a model :

import { Restgoose, RestgooseModel, all, create, one, prop, remove, rest, update } from '@xureilab/restgoose';

@rest({
    route: '/todos',
    methods: [
        all(), // GET /todos
        one(), // GET /todos/:id
        create(), // POST /todos
        update(), // PATCH /todos/:id
        remove(), // DELETE /todos/:id
    ],
})
export class Todo extends RestgooseModel {
    @prop({required: true})
    name: string;
}

See the full example (with express/mongoose boilerplates) in the examples directory

Check out the docs for details.

The Philosophy behind Restgoose

Restgoose takes its inspiration from Typegoose and Loopback. We also had some objectives in mind while writing Restgoose :

  • Simple, common behaviors should be really easy to write,
  • The framework should follow a RESTful design,
  • The framework should be simple to add in an existing project,
  • While promoting some best practices, the framework should let the user add complex endpoints without Restgoose if necessary
  • The framework should be small and provide as little middlewares as necessary. Plugins will be created for better cherry-picking.

Contribute

We are looking for collaborators to test the framework in real-world situations, and also make the development faster. Check out the roadmap to see what's going on.

Community

Reddit: https://www.reddit.com/r/restgoose/

Support on Beerpay

Beerpay Beerpay

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