Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

moonshotcollective/drecruit

Repository files navigation

⚠️ THIS REPOSITORY IS BEING ARCHIVED AND FUTURE DEVELOPMENT WORK WILL TAKE PLACE AT A DIFFERENT REPOSITORY ⚠️


dRecruit

A decentralized recruiting platform built by the Moonshot Collective!

Why we built this

Current recruiting sites like LinkedIn and Indeed often use candidates resumé data to build algrothims and sell information to recruiters. This is highly unethical, and candidates do not receive any compensation for the information they provide to recruiters. dRecruit offers a solution: Candidates get paid every time a recruiter accesses their data, and dRecruit does not use the information in unethical ways.

🏄‍♂️ Quick Start

Prerequisites: Node plus Yarn and Git

  cd packages/react-app
  1. Copy-paste all .env.example files into a new file called .env.
  2. Go to https://web3.storage and set the value of WEB3STORAGE_TOKEN with your web3.storage API key.

clone/fork 🏗 drecruit:

  https://github.com/moonshotcollective/drecruit.git

install and start your 👷‍ Hardhat chain:

cd drecruit
yarn install
yarn ceramic
yarn chain

in a second terminal window, 🛰 deploy your contract, install and run the backend:

cd drecruit
yarn deploy --network localhost --reset

Copy the contract address of the deployed contract and paste it in the .env in packages/backend for the CONTRACT_ADDRESS variable

cd packages/backend
yarn install
yarn dev

in a third terminal window, start your 📱 frontend:

cd drecruit
yarn dev

🔏 Edit your smart contract DRecruitV1.sol in packages/hardhat/contracts

📝 Edit your frontend index.js in packages/react-app/src/pages

💼 Edit your deployment scripts in packages/hardhat/deploy

📱 Open http://localhost:3000 to see the app

📚 Documentation

Documentation, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io