-
Notifications
You must be signed in to change notification settings - Fork 0
1. Getting started
Erzhan edited this page Jun 29, 2019
·
3 revisions
It is really easy to get started with LapisDB. First of all, configuration-wise, you need to enable emitDecoratorMetadata
and experimentalDecorators
in the tsconfig.json
.
{
"compilerOptions": {
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
...
},
}
Now you should install LapisDB itself. To do so, just install it from npm.
npm install --save lapisdb
Also you should install an adapter for LapisDB. Right now the only available option is the Level adapter (check it out here)
npm install --save lapisdb-level-adapter
Now you can proceed with other tutorials like Creating a datastore.