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
- 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
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
- WhoIs API. You can use other APIs as well which should require only minor changes to the /tld/ route.
- Heroku Redis database
- ShareASale Affiliate Account - sign up and create an affiliate account with the domain registrar of your choice. Update this in
/routes/referral.js
- Default timeout is set to 12 seconds (12000 ms). See the timeout section for more discussion on how this is used.
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.
- NodeJS
- React
- Express
- Redis
- WhoIs API
MIT © Skylar Wilcox