# mvc-setup

> Restfuly API setup using MVC model.

Latest version **1.1.0** (published 2018-02-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install mvc-setup
pnpm add mvc-setup
yarn add mvc-setup
bun add mvc-setup
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2018-02-20 |
| First published | 2018-02-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Aly Badran |
| Maintainers | aly2cool |

## Links

- npm: https://www.npmjs.com/package/mvc-setup
- Repository: https://github.com/aly2cool/mvc-setup
- Homepage: https://github.com/aly2cool/mvc-setup#readme
- Issues: https://github.com/aly2cool/mvc-setup/issues
- npm.io page: https://npm.io/package/mvc-setup

## Recent versions

- 1.1.0 (latest) — 2018-02-20
- 1.0.1 — 2018-02-20

## README

# mvc-setup
## Simple bash script to setup a RESTFUL API filesystem using MVC model.  
***  
#### Note *If* you are cloning this repo, ignore step 1, and make sure to delete line 2 from mvc.sh, otherwise everything will be installed 2 levels above project directory.
### When in project directory, use `npm install mvc-setup` to download the script. When installed: 
### 1. `cd node_modules`
### 2. `cd mvc-setup`
### 3. `chmod +x mvc.sh`
### 4. `. ./mvc.sh`

#### Note the first `.` before file name; if you forget it, you will have to `cd` into project folder manually.

#### This script will set up the entire mvc file structure for you, as well as pre-populate some files with common data.  
#### The dependencies installed include: 

* express
* nodemon
* morgan
* ejs
* body-parser
* pg-promise

#### `package.json` will have been initialized without 'start' and 'dev' scripts;     
#### so if you want to use `npm start` or `npm run dev` make sure to include them in the `package.json` file.

---
_Source: https://npm.io/package/mvc-setup · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
