https://github.com/tuddman/domain-details
Know things about domains
https://github.com/tuddman/domain-details
Last synced: 2 months ago
JSON representation
Know things about domains
- Host: GitHub
- URL: https://github.com/tuddman/domain-details
- Owner: tuddman
- Created: 2020-08-10T05:04:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-19T15:32:51.000Z (almost 5 years ago)
- Last Synced: 2025-01-19T12:41:49.811Z (4 months ago)
- Language: Java
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Domain Details
_Know things about domains._
Domain Details is a stubbed service to capture & provide information about collected domains.
---
### Getting Started
run the following command in a terminal to start the service
```
cd domain-details/
./mvnw spring-boot:run
```### Build the JAR file
```
./mvnw clean package
```### Run the JAR
```
java -jar target/domain-details-0.1.0-SNAPSHOT.jar
```### Ensure the service is running
[http://localhost:8080/actuator/health](http://localhost:8080/actuator/health)
### Available Endpoints
browse to [http://localhost:8080](http://localhost:8080) to see that the service has started.browse to [http://localhost:8080/domains](http://localhost:8080/domains) to see the list of collected domains.
#### add a domain
```
curl -i -H "Content-Type: application/json" -X POST -d '{"url":"acbxyz123","commonName":"Bazaar","details":"..."}' http://localhost:8080/domains
```