clever-orm

CleverStack ORM (SQL) Module

Usage no npm install needed!

<script type="module">
  import cleverOrm from 'https://cdn.skypack.dev/clever-orm';
</script>

README

CleverStack ORM Module

NPM version GitHub version Dependency Status devDependency Status Code Climate Build Status Coverage NPM downloads Built with Grunt

CleverStack NodeJS ORM Module

This CleverStack Module deeply integrates SequelizeJS into CleverStack, to provide an out of the box Object Relational Mapper which is rich in features, widely used and accepted, well tested, mature and reliable Enterprise Grade SQL (DB) Solution for CleverStack.

Documentation

See cleverstack.io for more detailed information on the Node seed or visit the Getting Started Guide. For more information about using clever-orm (and models in general) please see the Models Documentation.

Install

  1. From your project folder run clever install clever-orm

  2. In the config file for your desired environment (ie. backend/config/local.json), update the clever-orm object with the details for your database.

  3. From your project's backend folder, run NODE_ENV=local grunt db. The database tables for your modules should now be installed and seeded with data!