Git Product home page Git Product logo

drecruit's Introduction

Moonshot Collective

Meta repository for the Moonshot Collective

Moonshot has merged with Gitcoin Product Collective

drecruit's People

Contributors

0xsama avatar austintgriffith avatar azf20 avatar btogzhan2000 avatar cali93 avatar calvbore avatar changoman avatar clacladev avatar codenamejason avatar damianmarti avatar dependabot[bot] avatar dhaiwat10 avatar forshtat avatar ghostffcode avatar hmrtn avatar hodlplus2021 avatar ironsoul0 avatar j2r5m3 avatar jacobwillemsma avatar pabloruiz55 avatar qedk avatar shravansunder avatar swapp1990 avatar thesuperb1 avatar tomafc330 avatar tomafrench avatar varunv5000 avatar xalava avatar xjjda22 avatar yutingzhao1991 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

drecruit's Issues

Static provider

Use the static provider to display the profiles even if the user isn't logged in

Update `CONTRIBUTING.md`

Encountered a few problems while getting started as a new contributor for this project. I'd like to volunteer & setup a contributing doc that'll help onboard new contributors.

Country picker

The residency country field in the edit-profile form should be a select field with a list of countries where the label is the name of the country and the value is the country code in ISO_3166

Candidate search & filters

Use built-in ceramic family & tags properties
Caching/indexing layer or search engine

skills
location
culture

Web3Modal Issue: Login fails at homescreen

The web3modal for logging in fails on homescreen. The workaround is to use the /debug endpoint to login with a working web3modal.

This could likely stem from:

const init = async () => {
    const { network } = await getNetwork();
    const contract = await loadDRecruitV1Contract();
    setDRecruitContract(contract);
    const addresses = await window.ethereum.enable();
    console.log(addresses);
    const self = await SelfID.......

look into getNetwork(), or Scaffold

Backend installation errors

Describe the bug
Faced errors on installing the project. Ceramic and Front-end works, but not the back-end.

To Reproduce
Steps to reproduce the behavior:

Was following the installation procedure.

First got warnings:

fedor@DESKTOP-JUACTCP MINGW64 /c/blockchain/drecruit (staging)
$ yarn deploy --network localhost --reset
yarn run v1.22.17
$ yarn workspace @scaffold-eth/hardhat deploy --network localhost --reset
$ hardhat deploy --export-all ../react-app/contracts/hardhat_contracts.json --network localhost --reset
Downloading compiler 0.8.10
Compiling 23 files with 0.8.10
Warning: Return value of low-level calls not used.
   --> contracts/DRecruit.sol:111:9:
    |
111 |         address(msg.sender).call{value: accumulatedFees}("");
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 


Warning: Return value of low-level calls not used.
   --> contracts/DRecruitV1.sol:115:9:
    |
115 |         address(msg.sender).call{value: accumulatedFees}("");
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 


Warning: Return value of low-level calls not used.
   --> contracts/DRecruitV1.sol:150:9:
    |
150 |         address(msg.sender).call{value: resumeFee}("");
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Warning: Return value of low-level calls not used.
   --> contracts/DRecruitV1.sol:167:13:
    |
167 |             address(msg.sender).call{value: resumeFee}("");
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Warning: Return value of low-level calls not used.
   --> contracts/DRecruitV1.sol:181:9:
    |
181 |         address(account).call{value: requests[id][account]}("");
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Warning: Return value of low-level calls not used.
   --> contracts/DRecruitV1.sol:195:13:
    |
195 |             address(accounts[i]).call{value: requests[id][accounts[i]]}("");
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Warning: Return value of low-level calls not used.
   --> contracts/DRecruitV1.sol:205:9:
    |
205 |         address(msg.sender).call{value: requests[id][msg.sender]}("");
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

When installing backend the following errors came up:

fedor@DESKTOP-JUACTCP MINGW64 /c/blockchain/drecruit/packages/backend (staging)
$ yarn dev
yarn run v1.22.17
$ nodemon server.js
[nodemon] 2.0.14
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node server.js`
node:buffer:322
  throw new ERR_INVALID_ARG_TYPE(
  ^

TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:371:5)
    at Function.from (node:buffer:322:9)
    at Object.<anonymous> (C:\blockchain\drecruit\packages\backend\server.js:14:15)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'ERR_INVALID_ARG_TYPE'
}

Emoji picker

Emoji select input for the emoji field on the basic profile on /profile/edit-profile

Error from ceramic creating profile

When a user create a profile not filling any data, we get an error from ceramic:

Error: HTTP request to 'https://ceramic-clay.3boxlabs.com/api/v0/commits' failed with status '': {"error":"Validation Error: data/emoji must NOT have more than 2 characters, data/birthDate must match format "date", data/residenceCountry must match pattern "^[A-Z]{2}$""}

Schema https://developers.ceramic.network/streamtypes/tile-document/schemas/basic-profile/

All fields are optional.

Improve read me

Sorry if it is bad form to drop an issue for this. How does this feel for a first pass at the read me for this project?

Talent search and recruitment protocol designed to incentivize the end user for participating in the network.

Join as a recruiter

  • A Basic Ceramic Profile for Recruiters to create
  • Includes information on who they're recruiting for
  • How many they've "scoped out"(?)

Default images for the public profile

If the user didn't provide a pfp or a cover image, we need to display a default image.
We could use blockies for the pfp and something else for the cover image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.