Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/newsoftwareculture/node-starter-kit
Starter kit includes Node, Express, Nodemon, Babel, ESLint, Prettier and Docker
https://github.com/newsoftwareculture/node-starter-kit
babel docker eslint express-js node-js nodemon prettier
Last synced: 30 days ago
JSON representation
Starter kit includes Node, Express, Nodemon, Babel, ESLint, Prettier and Docker
- Host: GitHub
- URL: https://github.com/newsoftwareculture/node-starter-kit
- Owner: NewSoftwareCulture
- Created: 2022-01-27T21:53:27.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-27T21:57:55.000Z (almost 3 years ago)
- Last Synced: 2024-10-30T02:48:23.647Z (3 months ago)
- Topics: babel, docker, eslint, express-js, node-js, nodemon, prettier
- Language: JavaScript
- Homepage:
- Size: 96.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node Starter Kit
## Install packages
1. Babel
2. Nodemon
3. ESLint
4. Prettier
5. Express & Cors| Name | Package | Flag | Description |
|---------------|:------------------------------------------------------:|:----:|--------------------------------|
| Babel |`@babel/cli @babel/core @babel/preset-env @babel/node` | -D | JavaScript compiler |
| Nodemon | `nodemon` | -D | Develop tool for live restart server|
| ESLint |`eslint eslint-config-airbnb-base eslint-plugin-import` | -D | Statically analyzes code |
| Prettier |`prettier eslint-plugin-prettier eslint-config-prettier`| -D | Code formatter |
| Express | `express` | -S | NodeJS framework |
| Cors | `cors` | -S | Cross-Origin Resource Sharing |*Summary:*
```bash
npm i -D --save-exact @babel/cli @babel/core @babel/preset-env @babel/node nodemon eslint eslint-config-airbnb-base eslint-plugin-import prettier eslint-plugin-prettier eslint-config-prettier
```
```bash
npm i -S --save-exact express cors
```---
## Scripts:
### Build
```bash
npm run build
```### Start Production
```bash
npm start
```### Start Development
```bash
npm run dev
```### Start Production by Docker
```bash
npm run start:docker
```### Stop Production by Docker
```bash
npm run stop:docker
```### Remove image by Docker
```bash
npm run remove:docker
```### Release to Github
```bash
npm run release
```