4b21324c62 | ||
---|---|---|
.github/workflows | ||
db_server | ||
grafana/provisioning | ||
mq_proxy | ||
prometheus | ||
.dockerignore | ||
.gitignore | ||
README.md | ||
docker-compose.yaml | ||
package-lock.json |
README.md
War-News-Aggregator
Some time ago
Current status:
- created dummy express app that serves http content ( https://expressjs.com/en/starter/generator.html )
- setup Github CI pipeline that is triggered at every pull request and commit on main
- created test suite that is run at every pipeline trigger, we use mocha
atm for tests. to create a new test, add a new file in test/ and run
npm run test
Future work:
- continue to write the backend app
- do we need a CD pipeline?
- what is the best framework for our needs with regards to unit testing or other types of testing?
CI/CD pipeline:
- build the backend app
- test the app
- create a container with the app and push it to docker hub
- to deploy the application we must pull the containers from docker hub and using a docker-compose file run the application on the server (be it localhost or a remote server)
- other containers that we need: frontend app deployed on ngninx container, database container
- the frontend app will be developed in a different repository and for database we will need to pull a container and link it to our backend in docker-compose
May 08
Current status:
- try to integrate rabbitmq: How to use RabbitMQ and Node.js with Docker and Docker-compose
- integrated rabbitmq in the backend. we should have an arhitectural diagram to reflect that
May 10
Current status:
- integrated auth0 in backend
- working on integrating logging support (prometheus + graphana)
Planning:
- need to add a build/compile/'check for errors' stage in the pipeline
May 12
Current status:
- try to integrate prometheus + grafana
Planning:
- add build stage in pipeline (if possible)