Skip to content

ytlabs/basyt

Repository files navigation

basyt

minimalist package to create JSON API server. Typical scenario to use basyt is when you need a rest-like JSON API that provides create/read/update/delete/query actions for your data entities.

npm version Build Status Dependencies Coverage Status

Installation

$ npm install basyt
$ npm install basyt-mongodb-collection

Features

  • is an extension over awesome nodejs framework expressjs
  • generates CRUDL API and routing based on entities and controllers located in corresponding folders at the startup
  • provides json web token based authentication
  • provides redis based notification for entity updates
  • provides user management and role based access control

Please review test folder, there you will find a sample web application exposing test_entity and test_relation entities.

Documentation

Project Wiki is available for reference.

Why do we call it basyt

In Turkish basit means simple. That is the motivation: an extension over expressjs to make things simpler. Since our company's initials are YT, we decided to call the project basyt, simple web package from Yonca Teknoloji.