https://github.com/rahul2104/create-nodejs-structure
Initialize a node structure with create-node-structure
https://github.com/rahul2104/create-nodejs-structure
express-js mongodb mongoose nodejs redis redis-session socket-io swagger
Last synced: 5 months ago
JSON representation
Initialize a node structure with create-node-structure
- Host: GitHub
- URL: https://github.com/rahul2104/create-nodejs-structure
- Owner: rahul2104
- License: mit
- Created: 2020-05-11T11:22:51.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-20T16:35:56.000Z (over 1 year ago)
- Last Synced: 2025-06-02T20:37:35.628Z (about 1 year ago)
- Topics: express-js, mongodb, mongoose, nodejs, redis, redis-session, socket-io, swagger
- Language: JavaScript
- Homepage:
- Size: 3.78 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Create Nodejs Structure
=====================
[![NPM Version][npm-image]][npm-url]
[![Node Version][node-image]][node-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![NPM License][npm-license]][npm-url]
Initialize a node structure with create-nodejs-structure.
How To Start
---------------
The simplest way to get started is to use `npx`:
#### npx
```bash
npx create-nodejs-structure node_demo
cd node_demo
cp env.example .env
mkdir uploads
npm start
```
npx comes with npm 5.2+ and higher, see instructions for older npm versions
#### npm
```bash
npm init nodejs-structure
```
npm init is available in npm 6+
#### yarn
```bash
yarn create nodejs-structure
```
yarn create is available in Yarn 0.25+
## Steps for creation module for this structure
```bash
cd node_demo/lib/module/v1
```
#### npx
```bash
npx create-nodejs-project-module
```
#### npm
```bash
npm init nodejs-project-module
```
#### yarn
```bash
yarn create nodejs-project-module
```
[npm-image]: https://img.shields.io/npm/v/create-nodejs-structure
[npm-url]: https://www.npmjs.com/package/create-nodejs-structure
[node-image]: https://img.shields.io/node/v/create-nodejs-structure
[node-url]: https://www.npmjs.com/package/create-nodejs-structure
[downloads-image]: https://img.shields.io/npm/dm/create-nodejs-structure.svg
[downloads-url]: https://github.com/rahul2104/demo-node
[npm-license]:https://img.shields.io/npm/l/create-nodejs-structure