# node-js-application-structure

> This repository lets you help to start with node js application. I have provide baisc authentication, authorization and sequelize integration

Latest version **1.0.0** (published 2021-12-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install node-js-application-structure
pnpm add node-js-application-structure
yarn add node-js-application-structure
bun add node-js-application-structure
```

## 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.0.0 |
| Published | 2021-12-29 |
| First published | 2021-12-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Unpacked size | 282.1 KB |
| Known vulnerabilities | 0 (+15 in 3 direct dependencies) |
| Install scripts | no |
| Author | Mayur Parve |
| Maintainers | mayur.parve |

## Links

- npm: https://www.npmjs.com/package/node-js-application-structure
- npm.io page: https://npm.io/package/node-js-application-structure

## Dependencies (12)

- [cors](https://npm.io/package/cors.md) ^2.8.5
- [colors](https://npm.io/package/colors.md) ^1.4.0
- [dotenv](https://npm.io/package/dotenv.md) ^8.2.0
- [helmet](https://npm.io/package/helmet.md) ^3.22.0
- [morgan](https://npm.io/package/morgan.md) ^1.10.0
- [mysql2](https://npm.io/package/mysql2.md) ^2.1.0
- [express](https://npm.io/package/express.md) ^4.17.1
- [bcryptjs](https://npm.io/package/bcryptjs.md) ^2.4.3
- [sequelize](https://npm.io/package/sequelize.md) ^5.21.7
- [compression](https://npm.io/package/compression.md) ^1.7.4
- [jsonwebtoken](https://npm.io/package/jsonwebtoken.md) ^8.5.1
- [cookie-parser](https://npm.io/package/cookie-parser.md) ^1.4.5

## Recent versions

- 1.0.0 (latest) — 2021-12-29

## README

# Node Js Application Structure

This repository lets you help to start with node js application. I have provide baisc authentication, authorization and sequelize integration

## Installation

Run application

```
npm run dev (for development)
npm start (for production)

```

Postman document generation

```
docgen build -i postman_collection.json -o index.html

```
[LINK](https://github.com/thedevsaddam/docgen)
Transform your postman collection to html documentation

Other libraries

```
npm install -g win-node-env

```
[LINK](https://www.npmjs.com/package/win-node-env)
Run npm scripts on Windows that set (common) environment variables.

```
npm i –D nodemon

```
[LINK](https://www.npmjs.com/package/nodemon)
nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected.

nodemon does not require any additional changes to your code or method of development. nodemon is a replacement wrapper for node, to use nodemon replace the word node on the command line when executing your script.

```
npm i express

```
[LINK](https://www.npmjs.com/package/express)
Fast, unopinionated, minimalist web framework for node.

```
npm i dotenv

```
[LINK](https://www.npmjs.com/package/dotenv)
Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env. Storing configuration in the environment separate from code is based on The Twelve-Factor App methodology.

```
npm i morgan

```
[LINK](https://www.npmjs.com/package/morgan)
HTTP request logger middleware for node.js

```
npm i colors

```
[LINK](https://www.npmjs.com/package/colors)

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