Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including inra-server-sequelize with all npm packages installed. Try it out:

var inraServerSequelize = require("inra-server-sequelize")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

inra-server-sequelize v1.4.2


npm Dependency Status

Note: full documentation with more examples is published on our Wiki. Please, refer to our Wiki for installation details and API references.


$ npm install --save inra-server-sequelize


const database = new Database(config, autoconnect);


Tries to establish a connection with the given database's configuration. Disables operatorsAliases for security purposes.




Creates relations between each model. This is automatically executed on .connect but might come handy when implementing migrations and seeders.




Creates relations between each model and synchronises the database with provided models.




Loads a model and saves it for further usage.




Bug reporting

Github Open Issues Github Closed Issues Github Pull Requests

We want contributing to Inra Server to be fun, enjoyable, and educational for anyone, and everyone. Changes and improvements are more than welcome! Feel free to fork and open a pull request. If you have found any issues, please report them here - they are being tracked on GitHub Issues.


We have prepared multiple commands to help you develop inra-server-sequelize on your own. Don't forget to install all Node.js dependencies from npm. You will need a local copy of Node.js installed on your machine.

$ npm install


$ npm run <command>

List of commands

buildBuilds inra-server-sequelize
watchRe-builds inra-server-sequelize on changes
cleanDeletes builds and cache
lintFixes Lint errors
flowChecks Flow errors
testChecks for style guide errors and runs tests
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free