Sample flask api to return whether a number is prime or not. Can be optimised infinitely.
- Download/Setup docker environment in your machine.
- Git clone this repo
git clone https://github.com/singhjaideep/isPrime.git isPrime
- cd into isPrime/ and build/run docker-compose
docker-compose up --build
- API is viewable at http://DOCKERMACHINEIP:500
- GET
- Example to find out if 9 is prime or not, GET call would be http://DOCKERMACHINEIP:5000/api/isprime/9
- Add numpy
- Make frontend app