GitBook: [docs] 3 pages modified
This commit is contained in:
parent
d114565313
commit
bc7c6afbe9
|
@ -9,7 +9,6 @@ Many developers face security issues while linking Backend with Frontend.
|
|||
For instance, unable to verify weather the HTTP request came from your Frontend Website,
|
||||
Or, Backend API being data-scraped/mined, etc.
|
||||
So, to handle these usecases, I build this Project.
|
||||
|
||||
```
|
||||
|
||||
## Welcome to encrypted-randomizer 👋
|
||||
|
|
12
SUMMARY.md
12
SUMMARY.md
|
@ -3,3 +3,15 @@
|
|||
* [About](README.md)
|
||||
* [Usage](usage.md)
|
||||
|
||||
## References
|
||||
|
||||
---
|
||||
|
||||
* [cryptr](https://www.npmjs.com/package/cryptr)
|
||||
* [crypto-js](https://www.npmjs.com/package/crypto-js)
|
||||
* [crypto](https://node.readthedocs.io/en/latest/api/crypto/)
|
||||
|
||||
## Developers
|
||||
|
||||
* [Bravo68web](https://bravo68web.me/)
|
||||
|
||||
|
|
4
usage.md
4
usage.md
|
@ -47,14 +47,13 @@ async axios(config)
|
|||
.catch(function (error) {
|
||||
console.log(error);
|
||||
});
|
||||
|
||||
```
|
||||
{% endtab %}
|
||||
{% endtabs %}
|
||||
|
||||
## Backend
|
||||
|
||||
At Backend, integrate as follows :-
|
||||
At Backend, integrate as follows :-
|
||||
|
||||
{% tabs %}
|
||||
{% tab title="Initialization" %}
|
||||
|
@ -62,7 +61,6 @@ At Backend, integrate as follows :-
|
|||
const { Validator } = require("encrypted-randomizer");
|
||||
const privateKey = process.env.YOUR_AUTH_KEY;
|
||||
// set same YOUR_AUTH_KEY as an enviornment variable as used above.
|
||||
|
||||
```
|
||||
{% endtab %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue