Skip to content

a4ayad/demo-2-node

Repository files navigation

Code Challenge 10: The NPM Resume

Heroku link

Github repo

https://github.com/a4ayad/demo-2-node/tree/cc10-api-ahmed-resume

AA Notes write our own resume API endpoint

'express' is a dependency in package.json file. It allows us to build our own backend express is node framework for the backend

www.npmjs.com www.npmjs.com/package/lodash another way to import packages into API

downloaded Postman app from postman.com

localhost:5000/ahmedResume

Instructions

Code Challenge 10: The API Resume

You're made a command-line version of your resume, now it's time to build the api version with express.

Added a server file [server.mjs] that brings in express and serves a route (name the route the same name you gave your npx command.

Add a home route ("/"). It should give instructions on how to use your api and promote your command-line resume.

Export your postman collection and save it to your project.

downloaded Postman app from postman.com 

Push your project to Github (remember to ignore node_modules directory)

Deploy your app to Heroku

Submit:

Your Git Repo URL

Your Heroku link

My work:

Created new github branch cc10-api-ahmed-resume under demo-2-node.

https://github.com/a4ayad/demo-2-node/tree/cc10-api-ahmed-resume

Starting point of the project which creates your package.json file.

$ node --version v15.3.0

$ npm --version 6.14.11

$ npm init

$ yarn add express

The above command creates node_modules/ folder if it doesn’t exist and adds express to package.json file.

$ node index.mjs

The above command should display the content of console.log() from index.mjs.

Heroku

Downloaded and installed 64-bit installer Heroku from https://devcenter.heroku.com/articles/heroku-cli for Windows

$ reoku local

$ heroku local web

JSON Resume

https://jsonresume.org/getting-started/

npm install -g resume-cli resume export Ahmed_Ayad_swe-1pg.pdf

JSON Resume Exporter Chrome extension to import your LinkedIn Profile.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published