This project will help you to find registrar name and expiration Date & Time for given domain. If the application cannot find such a registered domain name, it will give you an information about prices to buy this domain. Application gets price information from namecheap API (https://www.namecheap.com/support/api/methods/users/get-pricing/)
To access the application, just go to http://localhost:8080, print domain name to check in the text field and press "Submit" button!
- Given prices are not real, because application gets information from sandbox api, not original
- To run the application you have to register whoisxmlapi and namecheap accounts and pass your personal data to application.properties file
- JDK 17
- Maven
General:
- Download the project
- Go to the project main directory
- Register whoisxmlapi account on https://whois.whoisxmlapi.com/
- Get your api key and pass it to whoisxmlapi.api.key property in src/main/resources/application.properties
- Register namecheapapi account on https://www.sandbox.namecheap.com/
- Get your api key and add your IP address to whitelist
- Pass api key, IP address and your username to the following properties in src/main/resources/application.properties
To run it locally:
mvn clean install
java -jar ./target/demo-0.0.1-SNAPSHOT.jar
To run tests with reports:
mvn clean test