Connect Loopback to various Data Sources
Go to file
Rifa Achrinza 816b948ab0 feat: add built-in model property types typdef
Added typdef for:
- Any
- JSON
- Text
- GeoPoint
- DateString

Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2021-09-22 19:32:13 +08:00
.github ci: restrict GITHUB_TOKEN permissions 2021-09-11 14:11:39 +08:00
docs add warning strict cannot be false with SQL dbs 2020-01-21 09:02:47 -05:00
examples Update copyright year and CODEOWNERS (#1818) 2020-01-21 13:12:14 -05:00
intl [WebFM] cs/pl/ru translation (#1600) 2018-06-29 09:37:15 -04:00
lib chore: replace shortid with nanoid 2021-09-12 18:14:03 +08:00
support Update copyright year and CODEOWNERS (#1818) 2020-01-21 13:12:14 -05:00
test chore: replace shortid with nanoid 2021-09-12 18:14:03 +08:00
types feat: add built-in model property types typdef 2021-09-22 19:32:13 +08:00
.editorconfig minor formatting issues (trailing spaces and such) and .editorconfig 2015-02-03 13:08:23 +03:00
.eslintignore Add ObserverMixin members to ModelBase typings 2020-03-02 11:54:48 +01:00
.eslintrc Upgrade eslint-config-loopback to latest 2018-12-07 17:09:10 +01:00
.gitignore Fix polymorphic hasMany inverse relation (#1621) 2019-08-12 15:30:28 -04:00
.gitmodules Remove unused support/ files 2016-04-05 15:25:34 +02:00
.mocharc.yaml Add mocharc, remove mocha.opts 2020-04-06 08:21:47 +02:00
.npmignore Add ObserverMixin members to ModelBase typings 2020-03-02 11:54:48 +01:00
.npmrc ci: update pipelines 2021-09-04 04:15:31 +08:00
.nycrc Hide nyc coverage from test output 2018-07-10 12:11:46 +02:00
.prettierignore Remove node ref 2018-05-11 09:09:31 -07:00
.prettierrc Remove node ref 2018-05-11 09:09:31 -07:00
.travis.yml ci: update pipelines 2021-09-04 04:15:31 +08:00
CHANGES.md 4.26.0 2020-11-02 09:38:59 -08:00
CODEOWNERS Update copyright year and CODEOWNERS (#1818) 2020-01-21 13:12:14 -05:00
CONTRIBUTING.md Add instructions for running the tests (#1330) 2017-04-17 11:14:00 -04:00
LICENSE chore:update license (#1521) 2017-11-13 12:50:36 -05:00
NOTICE Add NOTICE 2015-07-18 19:44:46 -07:00
README.md chore: update 3.x LTS to End-of-Life (#1888) 2021-01-23 10:37:54 -05:00
commitlint.config.js ci: update pipelines 2021-09-04 04:15:31 +08:00
docs.json chore: update file list for apidocs 2018-11-09 11:59:22 -05:00
index.d.ts feat: add built-in model property types typdef 2021-09-22 19:32:13 +08:00
index.js Update copyright year and CODEOWNERS (#1818) 2020-01-21 13:12:14 -05:00
package-lock.json chore: replace shortid with nanoid 2021-09-12 18:14:03 +08:00
package.json chore: replace shortid with nanoid 2021-09-12 18:14:03 +08:00
tsconfig.json Add typescript type definitions 2018-05-09 12:47:27 -07:00

README.md

loopback-datasource-juggler

An ORM/ODM that provides a common set of interfaces for interacting with databases, REST APIs, and other types of data sources. It was originally forked from JugglingDB.

Supported versions

This module adopts the Module Long Term Support (LTS) policy, with the following End Of Life (EOL) dates:

Version Status Published EOL
4.x Current Oct 2018 Apr 2023 (minimum)
3.x End-of-Life Dec 2016 Dec 2020
2.x End-of-Life Jul 2014 Apr 2019

Learn more about our LTS plan in the LoopBack documentation.

Usage

Install Juggler:

npm install loopback-datasource-juggler

Then install a connector:

npm install loopback-connector-mongodb // in this case, the mongodb connector

Documentation

See the LoopBack documentation.

For information on data source connectors, see Connecting models to data sources.

Contributing

This project uses DCO. Be sure to sign off your commits using the -s flag or adding Signed-off-By: Name<Email> in the commit message.

Example

git commit -s -m "feat: my commit message"

Also see the Contributing to LoopBack to get you started.