Giter VIP home page Giter VIP logo

jobsika's People

Contributors

asam237 avatar billyjov avatar dipandaaser avatar elhmn avatar fanjups avatar maseh87 avatar rakici avatar sidikfaha avatar theryx avatar valerymelou avatar zaker237 avatar

Stargazers

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

Watchers

 avatar  avatar

jobsika's Issues

Change the type of the `company` field for the `salaries` endpoint to an integer named `company_id`

The company field in the salaries table is currently a VARCHAR(255) and we would like to change that into a company_id field of type INTEGER

Additionally the salaries GET endpoint should return in its response body the full company details that corresponds to the salary company_id

Example:

// salaries
// the salaries row in the DB has a `company_id` of 1
// response when status OK
[
{
  "id": 0,
  "title": "Software engineer",
  "seniority": "Entry-level",
  "salary":  "100000",
   "company": {
    "id": 1,
     "name": "osscameroon",
     "ratings": 4.5
    }
}
]

Add rating detail

We show a detail card to display more data about the salary/rating entry, generally a comment about the user experience in the company.

Please refer to the figma design this is only an indication
Screenshot 2022-01-22 at 07 48 12

Add default values to the GET `companies` and `jobtitles` endpoint

When we launch the application there wont be any companies or jobtitles set in the DB. Therefore we need to set some default values that can be sent to the frontend that users can use to set their companies and jobtitles.

We should probably find a list on the internet of possible jobtitles and Cameroonian companies to use

Subtasks:

The backend should reformat `companies` and `jobtitles` sent by the users

The companies and jobtitles might be sent by the user in lowercases or uppercase and we should make sure that the value stored follow a certain format.

Example:

If the user send software dEvLoper we should format it to Software Developer.

Each words should start with an uppercase and be followed by lowercase letters.

Implement filters on the list of ratings

When the user selects a filter the list should be updated accordingly.

You may need to make api calls using the GET ratings?company=<company_name>&jobtitle=<job_title>

add an Endpoint to the backend for the average salary.

As the average salary have to be show on the frontend app and because we don't want to habe complexe numerical operations on the frontend to keep et best speed in the app. it is better to habe and endpoint on the api that give bach the average salary that will be show on the frontend.

add company-ratings GET endpoint

The company-ratings GET endpoint should return a json containing the list of ratings for every companies stored in our DB.

// company-ratings
// response when status OK
[{
  "id": 0,
   "company_id": 0,
   "comment": "oss cameroon is the best company in the world",
   "rate": 4.5
},
{
  "id": 1,
  "company_id": 0,
   "comment": "oss cameroon is not well managed",
   "rate": 1
},
{
  "id": 2,
  "company_id": 2,
   "comment": "Dikalo is very cool",
   "rate": 4.5
},
]

The company-ratings/<company-id> GET endpoint should return a json containing the list of ratings for the company whose id is <company-id> stored in our DB.

// company-ratings/0
// response when status OK
[{
  "id": 0,
   "company_id": 0,
   "comment": "oss cameroon is the best company in the world",
   "rate": 4.5
},
{
  "id": 1,
  "company_id": 0,
   "comment": "oss cameroon is not well managed",
   "rate": 1
}
]

Sort list of companies

The GET companies endpoint returns a unordered list. It would be nice if that list was sorted

add companies GET endpoint

The companies GET endpoint should be returning a json containing the list of companies stored in our DB.

// response when status OK
[{
  "id": 0,
   "name": "oss cameroon",
   "ratings": 4.5
}]

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.