How to pass and use a URL parameters in the root/entry page
Offen
good first issue
- Vorherrschende Sprache
- JavaScript
- Sterne
- 0
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
# 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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.