Socket
Socket
Sign inDemoInstall

mvc-starter

Package Overview
Dependencies
163
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mvc-starter

Starter files for backend development with expressjs using mvc architectural pattern


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
112 kB
Created
Weekly downloads
 

Readme

Source

Express Logo

This is a starter file package for backend development with expressjs using mvc architectural pattern something just like the "create-react-app".

Installation

$ npm install mvc-starter -g 
For example, the following creates an Express app with mvc architecture in the current working directory:
$ mvc-starter

Say you want the files to be in a new directory(new-app):

Create the new directory

$ mkdir new-app

Change working directory to new-app

$ cd new-app

then run the command:

$ mvc-starter
  |____new-app
  |      |____config
  |      |    |____db.js
  |      |
  |      |____controllers
  |      |    |____appController.js
  |      |
  |      |____models
  |      |    |___appModel.js
         |
         |_____server.js
         |
         |
         |_____package.json

Important Settings

  1. create a .env file, to configure your mongodb.

Let's keep it simple for now, if you find any issue you can state it in the issues tab of the repo.

More updates are coming!

FAQs

Last updated on 19 Jan 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc