Strictly name it /api/v1/postJD take a reference from already created endpoint /api/v1/postResume
Method will be a POST request
So first from the frontend we will be sending a Formdata object using JS so you've to parse that and set it into a variable following proper naming conventions
So to parse form data we use request.form.get() in python
Data which we'll be sending is:-
Also keep the naming conventions the same as Data Name given in the table
[ ] Data Validation, preprocessing and error handling of all the attributes
Validate the data according to the table
For skills section user will send comma-separated or space-separated string Example :- "C++, Java, Python" or "C++ Java Python" you need to separate these out by using data extraction techniques and create a list of strings like ["C++" , "Java" , "Python"]
And finally if there's any error handle it properly using best error handling practices.
[ ] Create a JSON object of all the attributesExample Final form should look like this
[
{
"job_summary": {
"company_name": "Persistant Systemps",
"designation": "Software Development Engineer",
"experience": "0-2 Years",
"location": "Pune",
"job_preference_remote": "Yes",
"skills": [
"C++",
"Flask",
"Css",
"Java",
],
"job_description": "We are looking for a Software Engineer to join our growing Engineering team and build
out the next generation of our platform. The ideal candidate is a hands-on platform builder with
significant experience in developing scalable data platforms. We’re looking for someone with
experience in business intelligence, analytics, data science and data products. They must have strong,
firsthand technical expertise in a variety of configuration management and big data technologies and
the proven ability to fashion robust scalable solutions that can manage large data sets. They must be at
ease working in an agile environment with little supervision. This person should embody a passion for
continuous improvement and test-driven development.",
}
]
[ ] Create an endpoint for posting Job Description
Create an endpoint in api/resume/routes.py
Strictly name it /api/v1/postJD take a reference from already created endpoint /api/v1/postResume
Method will be a POST request
So first from the frontend we will be sending a Formdata object using JS so you've to parse that and set it into a variable following proper naming conventions
So to parse form data we use request.form.get() in python
Data which we'll be sending is:-
Also keep the naming conventions the same as Data Name given in the table
[ ] Data Validation, preprocessing and error handling of all the attributes
Validate the data according to the table
For skills section user will send comma-separated or space-separated string Example :- "C++, Java, Python" or "C++ Java Python" you need to separate these out by using data extraction techniques and create a list of strings like ["C++" , "Java" , "Python"]
And finally if there's any error handle it properly using best error handling practices.
[ ] Create a JSON object of all the attributes Example Final form should look like this