This is an sample project made with Angular and Postman Echo Server.
- NodeJS
- Postman
- Postman setup (echo server setup)
Reference to https://www.youtube.com/watch?v=AnGUFN3JWy0&t=615s
When forked, we need two endpoints (Request Methods).
Two Get => {{url}}/stagePlays
, {{url}}/stagePlays/:id
One Post => {{url}}/login
{
"args": [
{"id": "string", "name": "string", "imageUrl": "sting"},
],
"headers": {
"x-forwarded-proto": "https",
"x-forwarded-port": "443",
"host": "postman-echo.com",
"x-amzn-trace-id": "Root=160a66480-3342356tmm34121",
"accept": "*/*",
"cookie": null,
"user-agent": "PostmanRuntime/7.26.8"
}
}
{
"args": {"id": "string", "name": "string", "imageUrl": "sting"},
"headers": {
"x-forwarded-proto": "https",
"x-forwarded-port": "443",
"host": "postman-echo.com",
"x-amzn-trace-id": "Root=160a66480-3342356tmm34121",
"accept": "*/*",
"cookie": null,
"user-agent": "PostmanRuntime/7.26.8"
}
}
{
"args": {"firstName": "string", "lastName": "string", "email": "sting"},
"headers": {
"x-forwarded-proto": "https",
"x-forwarded-port": "443",
"host": "postman-echo.com",
"x-amzn-trace-id": "Root=160a66480-3342356tmm34121",
"accept": "*/*",
"cookie": null,
"user-agent": "PostmanRuntime/7.26.8"
}
}
git clone "this repo"
cd "this repo"
npm i && npm run start
And you are fine to go... maybe... dunno... 😂