Skip to content

web server which provides data of vacant job positions in the developers community

Notifications You must be signed in to change notification settings

OsmanNasirdeen/devjobs-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devjobs web app server

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.


Table of Contents


Description

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.


Technologies Used

The Project is created with:

  • node: ">=6.0.0"
  • express js: "^4.18.2"
  • json data

Features

  • provides up-to-date data of current vacancies
  • provides data that matches clients requirements

Setup

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:

Clone this repository

$ git clone https://github.com/OsmanNasirdeen/devjobs-server.git

Go into the repository

$ cd ./devjobs-server

Install dependencies

$ npm install

Run the app

$ npm start

$ cd ./devjobs-server
$ npm install
$ npm start

How To Use

References


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.

Back To The Top

API Reference

// 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)`
);

API Demo


(1) This will return an array of all available vacancies from The server;

const getAllData = fetch(`https://server-devjobs.onrender.com/`);

(2) This will return an array of all data whose location is Ghana from The server;

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
);

Back To The Top


License

MIT License

Copyright (c) [2023] Osman Nasirdeen


Author

Back To The Top

About

web server which provides data of vacant job positions in the developers community

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published