New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

qubejs-core

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qubejs-core

Core framework for web, plugin, cms & nodejs server

  • 2.6.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
18
decreased by-59.09%
Maintainers
1
Weekly downloads
 
Created
Source

qubejs-core

Core framework for web, plugin, cms & nodejs server

npm npm

Demos

Issues Report

https://github.com/qubejs/qubejs-core

Download and Install qubejs-core

Install from npm

npm install qubejs-core

Available Modules

At present, we officially aim to support 3 modules

  • Web (React)
  • CMS Server (Node.js)
  • Vannila JS (Plain JS)

CMS Server

require('dotenv').config();
var express = require('express');
var path = require('path');
var fs = require('fs');
var http = require('http');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var session = require('express-session');
var { utils} = require('qubejs-core/server');
var { ContentServer } = require('qubejs-core/cms');

var routes = require('./routes');
var config = require('../config/environment');
var webConfig = require('../src/config');
var siteConfig = require('./site.config');

var app = express();

// Content server
var cmsSever = new ContentServer(
  {
    contentPath: path.resolve('./content'),
    serverPath: '/content/*',
    siteConfig: siteConfig,
    damAssets: path.resolve('./dam'),
    clientLibs: path.resolve('./clientlibs'),
    rootApp: path.resolve('./'),
    envConfig: config,
    mode: config.env,
    siteConfig: siteConfig
  },
  app
);
// cms initialization
cmsSever.init();
cmsSever.mapVanity(webConfig.urlMapping, {
  defaultPage: '/in/reactapp'
});

License

This project is licensed under the terms of the MIT license.

FAQs

Package last updated on 09 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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