Code Monkey home page Code Monkey logo

Comments (1)

lschlesinger avatar lschlesinger commented on June 1, 2024 1

Endpoints

  • Authentication/Account Context {email, password, employee_id, employer_id}
    • POST /login {email, password} -> bool
    • POST /register {email, password} -> bool
    • GET /session -> bool
    • Account Mgmt
      • GET /user -> Account
      • PUT /user {old_password, new_password} -> Account
  • Employee Mgmt
    • POST /employee {name, agegroup, location, skills:bool[]} -> Employee
    • GET /employee/:id -> Employee (only if current Account is owner of Employee)
    • PUT /employee/:id {name, agegroup, location, skills:bool[]} -> Employee (only if current Account is owner of Employee)
    • DELETE /employee/:id -> void (only if current Account is owner of Employee)
  • Employer Mgmt
    • POST /employer {name, domain, homepage} -> Employer
    • GET /employer/:id -> Employer(only if current Account is owner of Employer)
    • PUT /employer/:id {name, domain, homepage} -> Employer (only if current Account is owner of Employer)
    • Job Mgmt (only if current Account is owner of Employer who owns Job)
      • POST /job {title, desc, location, qty, salary} -> Job
      • GET /job -> [Job] (public)
      • GET /job/:id -> Job (public)
      • PUT /job/:id {title, desc, location, qty, salary} -> Job
      • DELETE /job/:id -> void
  • Smart Allocator
    • GET /matches -> [Job Recommendation] (only for employees possible)
  • Contracting
    • POST /job/:id/contract {employee_id (from sec.cxt), timestamp, signed, video_verified} -> Contract
    • GET /job/:id/contract -> [Contract] (only employer who owns job)
    • GET /job/:id/contract/:id -> Contract (only employer who owns job and employee who got job)
    • PUT /job/:id/contract/:id {signed, video_verified} -> Contract (only employer who owns job and employee who got job)

from corona-hackathon.

Related Issues (20)

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.