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
- 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
The preview component shown below is the same as the one on the home feed and user profiles.
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
- React
- Redux
- Rails
- Heroku
- AWS - for image hosting
- SCSS
Feel free to email me or file an issue.
- Font Awesome by Dave Gandy - http://fontawesome.io
- stackoverflow.com/a/3809435 for url detection regular expression
- Search icon made by Those Icons from www.flaticon.com
- Search
- Reviews
- Sidebar content (featured tools etc.)