You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

core-mvc

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

core-mvc

Simple but powerful MVC framework for NodeJS.

2.1.2
Source
npm
Version published
Weekly downloads
162
153.13%
Maintainers
1
Weekly downloads
 
Created
Source

Setup

Getting a fully operational system:

npm install core-mvc

server.ts

import 'reflect-metadata';
import { Application } from 'core-mvc/application';
import { ApiServer } from 'core-mvc/apiServer';
import typeorm from 'core-mvc/typeorm';
import User from '../user/entities/User';
import './controllers';

(async () => {
    const application = new Application();
    application.addContainerModule(typeorm);
    const { container } = await application.start();

    const server = new ApiServer(User);
    server.start();
})().catch(error => {
    throw error;
});

Keywords

mvc

FAQs

Package last updated on 21 Jan 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