UNCLASSIFIED

"master/README.md" did not exist on "master"
README.md 1020 Bytes
Newer Older
Bryan Finster's avatar
Bryan Finster committed
1
# DevOps Dojo Node express seed
2

Bryan Finster's avatar
linting  
Bryan Finster committed
3
Simple example Node seed application
4

Bryan Finster's avatar
Bryan Finster committed
5
## Scripts
6

Bryan Finster's avatar
Bryan Finster committed
7 8 9 10
- `npm run build`: Runs production build script
- `npm run lint:local`: Fix and report linting issues
- `npm test`: Run unit tests and coverage report
- `npm run test:ci`: TDD testing mode
11

Bryan Finster's avatar
Bryan Finster committed
12
---
13

Bryan Finster's avatar
Bryan Finster committed
14
## Running Locally
15

Bryan Finster's avatar
Bryan Finster committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
- Install [MongoDB](https://docs.mongodb.com/manual/administration/install-community/)
- Start mongo `mongod --config <path to mongod.conf> --fork`
- Validate the connection string with `mongosh`
- Make sure the `env.development` settings match

        MONGODB_HOST=127.0.0.1
        MONGODB_PORT=27017

- Start the service locally with `npm run start:local`
- `POST` new teams to populate the database

        {
        "organizationName": "Bob",
        "valueStreamName": "Dobbs",
        "teamName": "Slack",
        "teamSize": 0
        }
33

Bryan Finster's avatar
Bryan Finster committed
34
---
35

Bryan Finster's avatar
Bryan Finster committed
36 37 38 39
## Project Status

[![Build
Status](https://ci.wcnp.walmart.com/buildStatus/icon?job=strati/dojo-node-seed)](https://ci.wcnp.walmart.com/job/strati/job/dojo-node-seed/)