Skip to content

Takes a RAML file and outputs a webservice in JS+ExpressJS+MongoDB or PHP+Silex+Dotrine(+MySQL or other Doctrine supported database)

License

Notifications You must be signed in to change notification settings

jahd2602/raml-webservice-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAML JS WebService Generator

RAML webservice generator .. is still in development!!

See Sample Project generated

See Video DEMO

RAML JS WebService Generator DEMO

Input RAML Example

   #see test/fixtures/movies/api.raml

   #%RAML 0.8
    
   title: World Movie API
   baseUri: http://example.api.com/{version}
   version: v1
   traits:
     - paged:
         queryParameters:
           pages:
             description: The number of pages to return
             type: number
   schemas:
    - actor: !include ../../../test/fixtures/movies/actor.schema
    - genre: !include ../../../test/fixtures/movies/genre.schema
    - movie: !include ../../../test/fixtures/movies/movie.schema
    - news: !include ../../../test/fixtures/movies/news.schema
    - autor: !include ../../../test/fixtures/movies/autor.schema
   /movie:
     get:
       responses:
         200:
           body:
             application/json:
               schema: "Movie[]"

Output Schema

schema

Example Output Project

project

UI Screenshots

step1 step2 step3 step4

About

Takes a RAML file and outputs a webservice in JS+ExpressJS+MongoDB or PHP+Silex+Dotrine(+MySQL or other Doctrine supported database)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published