Jobly is a job searching API built using Node, Express, and PostrgeSQL.
To run this use: node server.js
** = Admin required
*** = Admin or active user required
POST /users **
POST /users/username/id ***
GET /users **
GET /users/username ***
PATCH users/username ***
DELETE users/username ***
POST /companies **
GET /companies
GET /companies/handle
PATCH companies/handle **
DELETE companies/handle **
POST /jobs **
GET /jobs
GET /jobs/title
PATCH jobs/title **
DELETE jobs/title **
-
Model tests check the underlying database actions.
-
Route tests check the underlying model methods and do not rely directly on the database changes.
-
Run all tests using:
jest -i