Job Guy Backend
Contribution
Job Guy development depends on your green codes :)
You could also support us financially by visiting https://jobguy.work/donate
For first open source contributers:
-
Pick an issue, or create an issue if there is no issue related to the job you want to do.
-
Mention yourself in that issue so other developers know that there is a developer on that issue.
-
Fork code for your github account
-
Pull it to your local system
-
Create a new branch about your issue
-
After coding and committing the changes, push it to your github account repo.
-
Create a PR with
develop
branch, add description about your fix and the related issue if needed.
For openning pull requests you have to send PR's to develop
branch.
Reset database
sudo su postgres ->
psql ->
DROP DATABASE jobguydb; ->
CREATE DATABASE jobguydb OWNER jobguy; ->
run create data api
OAUTH
GOOGLE -> https://console.developers.google.com/apis/credentials
Data test
Use utilities/create_initial_data API for creation data test in system
Versioning
Set request header to:
Accept: application/json; version=<your reuired version>
example:
Accept: application/json; version=1.0.1
API Documentaion
Jobguy uses swagger to generate api docs
you can see docs here
if you head to api link, you'll see this page.
this is the public API
you can expand this parts and easily try them.
jobguy has more than these public endpoints.
if you want to access those endpoints, you need to authenticate.
to do so, expand the authnz part,and you'll see something like this:
follow these steps for authentication
-
click on
/authnz/login_email/
endpoint -
click on Example value box on right side, so the required body parameters will appear in data input, and fill it with your own data.
-
after you click on Try it out!, you'll get a response (like following image)
- copy the token value, then click on
Authorize
button on top right of the screen, you'll see something like this:
- fill the value input in this format:
JWT YOUR-TOKEN
(as you can see in above image) and then click on Authorize button.
that's it :)
now you're authorized.
after authorization, you'll see more endpoints like this: