Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

qcobjects-admin-lib-db-sqlite3

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qcobjects-admin-lib-db-sqlite3 - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

2

package.json
{
"name": "qcobjects-admin-lib-db-sqlite3",
"version": "0.0.21",
"version": "0.0.22",
"description": "QCObjects Admin Lib to work with SQLite3",

@@ -5,0 +5,0 @@ "main": "public/js/index.cjs",

@@ -1,43 +0,34 @@

# QCObjects Handler Hello World
# QCObjects Admin Lib Db SQLite3
# Install
QCObjects Admin Lib for working with SQLite3 Database.
## Instructions
1. Install this dependency in your project using npm
```shell
npm i qcobjects-handler-hello-world
npm i --save qcobjects-admin-lib-db-sqlite3
```
# Setup in your config.json
2. In your config.json file, create the following settings
```json
"backend":{
"routes":[
{
"name":"Hello World!",
"description":"Hello world Microservice!",
"path":"^/hello-world",
"microservice":"qcobjects-handler-hello-world",
"headers": {
"content-type": "text/html; charset=utf-8"
},
"responseHeaders":{
},
"cors":{
"allow_origins":"*"
}
}
]
}
```shell
"backend":{
"db_engine":{
"name":"sqlite3",
"databaseName":"admin.db"
}, ...
```
# Visit
1. Test the integration
Visit https://localhost:port/hello-world
```shell
npm test
```
# Create your own microservice
4. Start the QCObjects HTTP2 Server
To make your own microservice, you can generate it with QCObjects CLI using this package as template:
```shell
qcobjects create --custom=qcobjects-handler-hello-world myown-handler-microservice
qcobjects-server
```
If you haven't installed QCObjects before, learn more about [Installing QCObjects here](https://docs.qcobjects.org/#installing)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc