Comments (3)
I've actually inlucded the token within the online POSTMAN docs but just noted that for security reasons it extract out the Authorization header.
I've just included here an _answer to your question, is it satisfactory?
Note that when invoking manually you might hit another wall - the code is approaching 3rd party service (we want to tackle this complexity and show how to test it), since that imaginary service is not available your code will fail. In the automated tests we use a special networking tool, nock, that mocks that service
Visit the file user-service-client.ts and change the URL to any REST service that is available, or just return something hard-coded
p.s. May I ask, which type of app are you building using Practica?
from practica.
I've just included here an _answer to your question, is it satisfactory?
so yes while this token works i wanted to be able to generate my own tokens, or at least know my way around, is there any way this could be achieved?
Visit the file user-service-client.ts and change the URL to any REST service that is available, or just return something hard-coded
ok let me try this
p.s. May I ask, which type of app are you building using Practica?
i am just learning the best practices, not building anything.
from practica.
@surajsharma The link explains how to generate your own token. If you could feedback what specifically in this text is lacking - we can improve it
from practica.
Related Issues (20)
- Logger tests not working when executing them in WebStorm
- On project generation we need to rename all the package organization name to the selected organization
- Decision: Which base docker image should we use? HOT 1
- Decision: Which ORM should we use? HOT 3
- Lacking type coercion during validation HOT 1
- On boarding "e-meets" HOT 3
- Add flag for adding the request id HOT 6
- Error while running `npx @practica/create-node-app interactive` HOT 3
- Usage: turbo.exe run --continue HOT 8
- 🎉 Add Koa as additional web layer
- Missing images HOT 2
- npx command doesn't work HOT 2
- development-machine-setup: `npm t` fails HOT 2
- contribution-short-guide link broken in CONTRIBUTING.md file HOT 3
- CLI Interactive mode banner isn't displayed properly on dark terminal themes HOT 1
- .nvmrc node version (18) isn't aligned with the one inside the docker image (14.2.0) HOT 1
- Discord invitation link in the README is invalid HOT 1
- Iframe taking the width of tables of contents
- I can't make a project by one-liner. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from practica.