Giter VIP home page Giter VIP logo

domainhack's Introduction

Domain Hack

Travis

What is it?

A site that uses the WhoIs API to help you brainstorm clever domain names.

For example if you want to find domain names for your business, Fiesta Taco, just type it in and see that:

  • FiestaTaco.com is taken
  • FiestaTaco.net is available
  • FiestaTaco.org is available
  • FiestaTaco.io is taken
  • FiestaT.aco is available
  • FiestaTa.co is taken

Features

  • Throttling and sets dynamic timeouts on API requests to optimize performance of the rather slow WhoIs API
  • CSRF cookies secures all API requests to prevent abuse
  • Redis database caching for fast retrieval of recent searches
  • Picks referral partners and generates links in real-time to maximize referral bounty

Running Your Own Copy

Setup

This README assumes you're hosting on Heroku.

Make sure you have keys for the following accounts and update them in .envs file. Rename the file to .env before deploying

  1. WhoIs API. You can use other APIs as well which should require only minor changes to the /tld/ route.
  2. Heroku Redis database
  3. ShareASale Affiliate Account - sign up and create an affiliate account with the domain registrar of your choice. Update this in /routes/referral.js
  4. Default timeout is set to 12 seconds (12000 ms). See the timeout section for more discussion on how this is used.

Run

Heroku can run this out of the box as long as you have the .env variables mirrored to the Heroku config and a redis database provisioned.

To run the site locally for development, run this in the top level directory:

npm run start:dev

This will start a nodemon that will restart the server when it detects changes to the source.

To run the client, open another terminal and cd to the /client/ directory and run:

npm run start

This will use react-script's daemon to restart on source changes.

Built with

License

MIT © Skylar Wilcox

domainhack's People

Contributors

skywox avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.