This is just a simple CRUD using Django.
To run locally run the following commands in the root directory:
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
GET - /careers/
Request body:
{}
POST - /careers/
Request body:
{
"username": "string",
"title": "string",
"content": "string"
}PATCH - /careers/{post_id}/
Only title and content can be updated.
Request body:
{
"title": "string",
"content": "string"
}DELETE - /careers/{post_id}/
Request body:
{}