Skip to content

Web app for consulting information about a domain and its servers.

License

Notifications You must be signed in to change notification settings

marshvee/domain-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Domain Info

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.

Requirements

You need to have the following installed in your computer:

  • NodeJS - install it here
  • Go - install it here
  • CockroachDB - install it here

Deployment

To run this project locally, download or git clone the repository. Then

Database setup

  1. Create a new directory for storing your database files.

  2. 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/

Back end

  1. Go to backend directory
  2. 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.

Front end

  1. Go to frontend directory
  2. Run the following commands:
npm install  # Installs needed dependencies 
npm run serve # Compiles and hot-reloads

It will deploy in:

http://localhost:8081/

Author

MIT License

This project is licensed by the MIT License.

About

Web app for consulting information about a domain and its servers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published