Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dunghenry/ci_cd_node
CI + CD nodejs
https://github.com/dunghenry/ci_cd_node
cd ci expreesjs heroku-deployment unit-testing
Last synced: about 2 months ago
JSON representation
CI + CD nodejs
- Host: GitHub
- URL: https://github.com/dunghenry/ci_cd_node
- Owner: dunghenry
- Created: 2022-11-08T07:44:19.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-08T08:37:11.000Z (about 2 years ago)
- Last Synced: 2023-03-04T15:57:36.107Z (almost 2 years ago)
- Topics: cd, ci, expreesjs, heroku-deployment, unit-testing
- Language: JavaScript
- Homepage:
- Size: 52.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Nodejs + CI + CD
### Setup
#### 1,
```js
npm init -y
```#### 2,
```js
npm i express morgan cors helmet dotenv body-parser
```#### 3,
```js
npm i -D nodemon colors mocha supertest
```#### 4, Add script
```js
"start": "node src/index.js",
"dev": "nodemon --inspect src/index.js",
"test": "mocha ./__test__/* --exit"
```### Start server
```js
npm run dev
```### Test
```js
npm test
```