After cloning the repository, follow the next steps to have the project's BE up and running:
Its Flask project implement Algorithms like Ackermann Fibonacci Factorial
Most of the Algorithms implemented Dynamic programming Iterative and recursive
Include unit testing
Include Sentry for montering
This might take long time to install sentry onpremise
Skip creating user during running sentry container for the first time
sudo bash install.sh
- sentry containers will be up
- backend container will be up
- move sentry-postgres dump to the docker volumes
- export machine wlp1s0 to environment variable MACHINE_IP
docker exec -it backend python manage.py test
- URL: localhost:9000
- User credentials
Account: root@localhost password: 123456
- Factorial:
curl -X GET -H "Content-type: application/json" -H "Accept:application/json" -d '{"number":1000}' "http://localhost:5000/factorial"
- Fibonacci:
curl -X GET -H "Content-type: application/json" -H "Accept:application/json" -d '{"number":1000}' "http://localhost:5000/fibonacci"
- Ackermann:
curl -X GET -H "Content-type: application/json" -H "Accept:application/json" -d '{"row":8,"column":8}' "http://localhost:5000/ackermann"