Web platform where people add interesting questions and links related to war. Developed for web programming course
Go to file
Lucian Popescu fc1ce9090a
Update README.md
2022-05-18 22:44:52 +03:00
.github/workflows Run pipeline on feature/ branches 2022-05-10 22:44:17 +03:00
db_server Return empty list instead of error message 2022-05-18 21:48:17 +03:00
grafana/provisioning Delete junk dboards and add correct prom endpoint 2022-05-12 22:56:13 +03:00
kong Add get_{questions,news}_by_id in kong 2022-05-18 21:16:44 +03:00
mq_proxy Add delete_comment endpoint 2022-05-18 21:42:07 +03:00
postgres Partially implement submit_post endpoint 2022-05-15 18:13:02 +03:00
prometheus Delete junk dboards and add correct prom endpoint 2022-05-12 22:56:13 +03:00
test Solve output problems with test scripts 2022-05-18 21:42:34 +03:00
.dockerignore Add dockerfile and dockerignore 2022-04-15 18:07:05 +03:00
.gitignore Add bin/ because here will be some test scripts 2022-04-09 17:51:59 +03:00
README.md Update README.md 2022-05-18 22:44:52 +03:00
deploy-test-cluster.sh Add deploy script and docker-compose for testing 2022-05-18 22:39:13 +03:00
docker-compose-test.yaml Add deploy script and docker-compose for testing 2022-05-18 22:39:13 +03:00
docker-compose.yaml Add deploy script and docker-compose for testing 2022-05-18 22:39:13 +03:00
package-lock.json Add package-lock.json in root of project 2022-05-08 21:30:19 +03:00

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:

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)
  • think about what info to print in the grafana dashboard

May 15

Current status:

  • connected to postgres database
  • created stubs for endpoints

Planning:

  • implement endpoints

May 17

Current status:

  • implemented all endpoints

Planning:

  • add jwtCheck in db_server to protect the endpoints
  • solve bugs that might appear when FE calls the endpoints
  • integrate nginx/kong in our solution

May 18

Current status:

  • integrated kong in backend
  • add jwtCheck in db_server to protect the endpoints
  • add endpoints for get_news_by_id and get_question_by_id

Planning:

  • configure dashboards for grafana (kong has a predefined dashboard too)
  • research triggers for rabbitmq + add email for user in submit_post endpoint
  • implement delete_news (if needed)