A simple API to retrieve a list of prime numbers between 1 and a supplied limit.
git clone https://github.com/mykeels/prime-cluster.git
cd prime-cluster
npm start
- Open
http://localhost:3030
in your browser
To specify a maximum prime number limit, supply the max
query string in your request e.g. http://localhost:3030?max=20000
to get prime numbers between 1
and 20,000
.