Skip to content
Inspired by Product Hunt
JavaScript Ruby CSS HTML CoffeeScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
frontend
lib
public
storage
test
vendor
.gitignore
.ruby-version
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
package-lock.json
package.json
webpack.config.js

README.md

Web Hunt

Introduction

Web Hunt, is a single page web application inspired by Product Hunt. It allow creators to share their products and receive feedback from developers and tech enthusiasts.

Live site: https://webhunt.dev

Features

  • Ability to upload your favorite coding tools using a multi-step form
  • View popular Tech tools uploaded by fellow developers
  • View user profiles to see their activity
  • Users can Upvote their favorite tools
  • Live preview shows what your product will look like as you are entering the product data
  • Custom vanity urls based on your username

Live preview

The preview component shown below is the same as the one on the home feed and user profiles.

gif

Vanity urls

Vanity urls use your username as your handle. webhunt.dev/@sharshi

  # config/routes.rb
  get '@:username', to: 'api/users#redirect_to_profile', defaults: { format: :json } 

  # app/controllers/api/users_controller.rb
  def redirect_to_profile
    @user = User.with_attached_profile_picture.find_by(username: params[:username])
    if @user
      redirect_to "/#/@#{params[:username]}"
    else
      render json: ['username not found'], status: 404
    end
  end

Technologies

  • React
  • Redux
  • Rails
  • Heroku
  • AWS - for image hosting
  • SCSS

Feedback

Feel free to email me or file an issue.

Acknowledgments

Todo

  • Search
  • Reviews
  • Sidebar content (featured tools etc.)
You can’t perform that action at this time.