This App is created using an Open Source API- Adzuna.
1.Installing the package manager (NPM) and various dependencies-
2. Getting an API key from Adzuna-
First we need to create an account on API key and get the API key. You need to get your own API key. That key is used whenever we make a request to the API.
3. Front End-
EJS templates are used to give content to our web page so that the user can enter the information. CSS(Cascading Style Sheets) is used to provide design and style to the web page.
We need to create a .js file and require various dependencies in it. Node.js handles our application from the server side. Get requests are used to render the information and post requests are used to send the data to the server which retrieves the information and send it back to us. We created a .env file to store our API Keys. Those keys are used in our app.js file using process.env method.
We need to run our app in CLI using the command node app.js. Then you have to open your browser and search localhost:3000.
Submitted by Shruti Jukaria (Shrutijukaria)
Download packets of source code on Coders Packet