ramses-tech / Ramses Example
Licence: unlicense
Example of a Pyramid app that uses ramses
Stars: ✭ 19
Labels
Projects that are alternatives of or similar to Ramses Example
raml-sublime-plugin
Syntax highlighter for the RESTful API Modeling Language
Stars: ✭ 49 (+157.89%)
Mutual labels: raml
raml-javascript-generator
Generate a JavaScript API client from RAML
Stars: ✭ 30 (+57.89%)
Mutual labels: raml
generaptr
Generaptr is a node package that helps when starting up a project by generating boilerplate code for Express api.
Stars: ✭ 16 (-15.79%)
Mutual labels: raml
osprey-method-handler
Middleware for validating requests and responses based on a RAML method object
Stars: ✭ 14 (-26.32%)
Mutual labels: raml
commercetools-api-reference
commercetools API reference documentation
Stars: ✭ 41 (+115.79%)
Mutual labels: raml
smockin
Dynamic API, S3 & Mail mocking for web, mobile & microservice development.
Stars: ✭ 74 (+289.47%)
Mutual labels: raml
node-raml-validate
Strict validation of RAML parameters in JavaScript
Stars: ✭ 18 (-5.26%)
Mutual labels: raml
home
This is the home page for the API specification toolbox.
Stars: ✭ 16 (-15.79%)
Mutual labels: raml
Raml For Jax Rs
This project is all about two way transformation of JAX-RS-annotated Java code to RAML API description and back.
Stars: ✭ 294 (+1447.37%)
Mutual labels: raml
raml-typesystem
(deprecated) Typescript implementation of RAML type system
Stars: ✭ 15 (-21.05%)
Mutual labels: raml
Osprey
Generate Node.JS API middleware from a RAML definition
Stars: ✭ 429 (+2157.89%)
Mutual labels: raml
ramses-example
Example of a Pyramid app using ramses - example.raml: RAML specs - schemas/*.json: schemas and property definitions
Installation
$ pip install -r requirements.txt
$ cp local.ini.template local.ini
$ nano local.ini
The setting nefertari.engine
can be set to either nefertari_mongodb
or nefertari_sqla
Run
$ pserve local.ini
Login
POST <host>/api/auth/login
{
"login": "<config.system.user>",
"password": "<config.system.password>"
}
or in the browser:
<host>/api/auth/login?_m=POST&login=<config.system.user>&password=<config.system.password>
Add mock data
$ mkdir mock
$ curl -o mock/Users.json https://raw.githubusercontent.com/ramses-tech/nefertari-example/master/mock/Users.json
$ curl -o mock/Profiles.json https://raw.githubusercontent.com/ramses-tech/nefertari-example/master/mock/Profiles.json
$ curl -o mock/Stories.json https://raw.githubusercontent.com/ramses-tech/nefertari-example/master/mock/Stories.json
$ nefertari.post2api -f ./mock/Users.json -u http://localhost:6543/api/users
$ nefertari.post2api -f ./mock/Profiles.json -u http://localhost:6543/api/users/{username}/profile
$ nefertari.post2api -f ./mock/Stories.json -u http://localhost:6543/api/stories
NOTE: set auth = false in local.ini file before executing
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].