ajfmo / ajfmo/SF-CV

How to pass and use a URL parameters in the root/entry page

Open
#2 0 comments 0 reactions 1 assignee Claimed by @ajfmo View on GitHub
good first issue
Dominant language
JavaScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

# Use case:

The link to the candidate's resume will have this format: https://resumeapp.heroku.com/?email=myemail@email.com

The end-user should be able to see the candidate's resume from the entry/root page.

The email parameter should be used to filter the soql query in the src/server/api.js

# What I tried

I tried to set the route to the root endpoint in both api.js and candidateService.js, but the page shows no details about the record.

https://github.com/ajfmo/SF-CV/blob/be3baed779debcb2badcf51d08ace2e7a1a28836/src/server/api.js#L40

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.