Domain Info is a web app for consulting information about a certain domain and its servers. For each domain we can see the following:
- Status - Up or down
- Logo - taken from the HTML's head
- Title - also taken from the HTML's head
- SSL Grade - the lowest SSL grade of all its servers
- Previous SSL Grade - the grade it had on the last request made (an hour or more ago)
- Servers*
- Address - server's IP or host
- SSL Grade - given by SSL Labs
- Country - get using
whois <ip>
- Owner - name of the organization that owns the IP, get using
whois <ip>
*We get this information using the SSL Labs API.
You can also see a list with all the past requests that have been made.
You need to have the following installed in your computer:
To run this project locally, download or git clone
the repository. Then
-
Create a new directory for storing your database files.
-
Inside that directory run:
cockroach start-single-node --insecure # Starts a single-node cluster cockroach sql --insecure # Connects to the cluster via SQL shell CREATE DATABASE domain_info; # Creates a new database
It will deploy in:
http://localhost:26257/
- Go to
backend
directory - Run the following commands:
make # Installs needed dependencies and builds project
.\backend # Runs the project
It will deploy in:
http://localhost:8090/
You can deploy it in other port by running:
.\backend -port=":9090"
Note: The URL for connecting to the database is set by default to
"postgresql://root@localhost:26257/domain_info?sslmode=disable"
. You can change it using the-addr
flag.
- Go to
frontend
directory - Run the following commands:
npm install # Installs needed dependencies
npm run serve # Compiles and hot-reloads
It will deploy in:
http://localhost:8081/
This project is licensed by the MIT License.