Coder Social home page Coder Social logo

hapi-swager-joi-sequelize-example's Introduction

hapi-swager-joi-sequelize-example

Example code for combined use of "hapi-swagger" and 'joi-sequelize".
More specifically, it is gathered code of example code each of dependent project. And it is able to run instantly.

WYNTK befor try this project.

This example project is built on [email protected] with [email protected]. plz notice that it is not [email protected]. v4 has breaking changes, and this example project doesn't consider about them.

When I write this example, I intended that if a programmer commands sequelize model:create --name foo --attribute .... Then, Automatically, a Resful API be produced at /api/foo path. But it doesn's fully works Yet.

How can I try?

git clone https://github.com/rino0601/hapi-swager-joi-sequelize-example.git
cd hapi-swager-joi-sequelize-example
npm install
npm start

and then, open http://localhost:3000/documentation to see what happens.

LoadMap

  • auto Generate SIMPLE CRUD API for Sequelize model
  • provide way to add custom API.
  • proper One-to-one relationship handling
  • proper One-to-many relationship handling
  • proper Many-to-many relationship handling
  • provide options for...
    • auto generate white|brack list.
    • proper url prefix
    • ...else?
  • auth

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.