A back-end server to provide data of vacancies (developers jobs) to clients. Users can request and filter data to match opportunities in their area and profession.
Visit live site here.
developer jobs(Devjobs) app server/API providing endpoints for clients to request and get up-to-date data of vacancies in the developer community. Clients can request for general data or filtered data which match opportunities in a specific field.
The Project is created with:
- node: ">=6.0.0"
- express js: "^4.18.2"
- json data
- provides up-to-date data of current vacancies
- provides data that matches clients requirements
To clone and run this application, you'll need to first have Git and Node.js (npm) installed on your computer. From your command line type the following:
$ git clone https://github.com/OsmanNasirdeen/devjobs-server.git
$ cd ./devjobs-server
$ npm install
$ npm start
$ cd ./devjobs-server
$ npm install
$ npm start
server/API URL
:
const serverUrl = https://server-devjobs.onrender.com
The server is hosted on this SERVER. Users can only filter data from the API by job position title, job location and whether a post is full-time.
// get all data from API
const getAllData = fetch(`https://server-devjobs.onrender.com/`);
// get all data which match specific location from API
const specificLocationData = fetch(
`https://server-devjobs.onrender.com/locations/locationName`
);
// get all data of a particular category(title) from API
const certainCategoryData = fetch(
`https://server-devjobs.onrender.com/category/categoryName`
);
// get specific data from API by passing multiple strings(search values)
const filterByQueryStrings = fetch(
`https://server-devjobs.onrender.com/positions?position=position-title&location=location-name&contract=(full-time/part-time)`
);
const getAllData = fetch(`https://server-devjobs.onrender.com/`);
const specificLocationData = fetch(
`https://server-devjobs.onrender.com/locations/Ghana`
);
(3) This will return an array of all data whose position name contains the keyword "software engineer" from The sever
const certainCategoryData = fetch(
`https://server-devjobs.onrender.com/category/software engineer`
);
(4) This will return an array of all data which position name contains software enginner and location name is Ghana
const filterByQueryStrings = fetch(
`https://server-devjobs.onrender.com/positions?position=software engineer&location=Ghana
);
MIT License
Copyright (c) [2023] Osman Nasirdeen
- LinkedIn - Osman Nasirdeen
- Github - OsmanNasirdeen