Demo of non-bias recruiting platform using MongoDB, Fastify, Swagger, Google Cloud Storage, React.js, Redux.js, Google Places API and Material-UI
Available such routes as:
- Unauthorized:
- /
- /login
- /signup
- /password-reset
- Authorized:
- Company:
- /assessment
- /profile
- /shortlist
- /candidates
- /jobs
- /jobs/create
- /settings
- Candidate:
- /assessment
- /profile
- /settings
- Company:
- npm
- Node
- MongoDB
- for example you can use cloud hosted MongoDB by mlab.com
- Google Cloud Storage
- create new project, enable Google Cloud Storage JSON API, create service account and import the private key (tutorial)
- Google Places API
- enable Places API, select the project and create API key
- Sign In with LinkedIn
- create an app
Clone the Non-Bias Recruiting Platform
repo locally. In a terminal, run:
git clone https://github.com/nparfen/Non-Bias-Recruiting-Platform.git
Go to the api
folder and install the dependency:
cd api/
npm install
Rename Google Cloud Storage JSON API private key to gcs.json
and copy it into the root of api
folder. Then create .env
file into the root of the folder. Also you can create .env.development
and .env.production
files if you need to specify different environments. Input the values:
PORT=
API_URL=
JWT_SECRET=
DB_USERNAME=
DB_PASSWORD=
DB_HOST=
DB_PORT=
DB_NAME=
LINKEDIN_AUTH_ID=
LINKEDIN_AUTH_SECRET=
LINKEDIN_CALLBACK=
GOOGLE_CLOUD_PROJECT_ID=
GOOGLE_CLOUD_BUCKET=
SWAGGER_HOST=
SWAGGER_SCHEMES=
Then run the server:
npm start
Swagger UI will be available at API_URL:PORT/documentation
route.
Go into the client
folder and install the dependency:
cd ..
cd client/
npm install
Create .env
file into the root of the client
folder. Also you can create .env.development
and .env.production
files if you need to specify different environments. Input the values:
REACT_APP_NAME=
REACT_APP_GOOGLE_PLACES_API_KEY=
REACT_APP_API_URL=
REACT_APP_LINKEDIN_WINDOW= // server domain + /login/linkedin
Then start the web application:
npm start
The application should now be running at:
http://localhost:3000