Git Product home page Git Product logo

urlchecker's Introduction

A Simple web App to validate any URL ✔✔

URL checker is an App that can validate any URL and can provide information that it is Safe or Malicious!!

Installation

  • The App has a frontend and a backend (all required to be running on Local server).
  • Clone the repo using git clone

    Frontend

    • Frontend is built in React.
    • Navigate to the folder of frontend and do npm install. It will install all of the required dependencies.
    • Then do npm start to run the React server. For more info visit react_official_website
    • Frontend will be up and will be running on port 3000 by default.

    Backend

    • Backend is Build in Go and Uses a Mongo DB database

    • You need to have Go installed on your machine link-to-install-go

    • After Go installation, navigate to backend folder and download few dependencies

      go get -u github.com/gorilla/mux
      go get go.mongodb.org/mongo-driver/mongo
    • Then Create a new Mongo DB Atlas server and create a new Project.

    • On the Connect tab you will get a connection string which will look something like this

      "mongodb+srv://<username>:<password>@<dbname>.8ttjeig.mongodb.net/?retryWrites=true&w=majority"
      
    • Get your Credentials and place in the above string. Provide that string in the code backend/controller/controller.go/connectionString

    • Run the main.go file by following the below commands

      go mod init github.com/<UserName>/<RepoName>
      go mod tidy
      go run main.go
    • The backend will be up and will be listening on port 4000.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.