Skip to content

ldrozdo/talent-tool-api

Repository files navigation

Talent Acquisition Tool

The application Talent Acquisition Tool is developed for the effective creating and managing boolean queries for LinkedIn and other social networks. It was created as a diploma thesis especially for Talent Acquisition Team in Red Hat Brno.

How to run the app

For this app, you need to have Keycloak for authentication. You can download it from here: https://www.keycloak.org/downloads.html

1.Download or clone the code from github

2.Set up the Keycloak

  • Open the Admin Console
  • Choose or create some realm
  • In the realm, create the roles for talent tool:
    • app_admin for admin role
    • app_user for recruiter role
  • Create client in realm
  • After saving the client, go to Installation tab for client and select Keycloak OIDC JSON for Format option and click Download.
  • The downloaded keycloak.json file add to talent-tool-frontend/public folder of the downloaded project.

3.Set up the backend

  • Open to config/initializers/cors.rb
  • Rewrite origins to the future url of your frontend

4.Set up the frontend

  • Open talent-tool-frontend/src/api/ApiHost.js
  • Rewrite the API_HOST constant to the future url of your backend

5.Run the apps

  • you have to run bundle install and migration only for very first run of the app, after that you can use only rake start
    • bundle install --without production
    • rails db:migrate
    • rake start