Skip to content

Commit fa30537

Browse files
committed
small updates
1 parent db7ae06 commit fa30537

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ NodeJS is far too powerful to be limited to just running your website. Whether b
3232
3333
### 📘 Why is it important to use env file?
3434
It has variety of usage. Find out [more](https://codeburst.io/process-env-what-it-is-and-why-when-how-to-use-it-effectively-505d0b2831e7).
35-
But the sole purpose of using .env file for our project is to secure our credentials such as logins, api keys, and other important stuff. It is important not to include your .env file when you in our repository specially when your project is public. It's easy
35+
But the sole purpose of using .env file for our project is to secure our credentials such as logins, api keys, and other important stuff. It is important not to include your .env file when you in our repository specially when your project is public.
3636
3737
### 🏗 Project Structure
3838
nodejs-boilerplate
@@ -42,7 +42,7 @@ But the sole purpose of using .env file for our project is to secure our credent
4242
│ │ ├── example2.js
4343
│ │ └── example3.js
4444
│ │
45-
│ ├── your-script.js
45+
│ ├── access-credentials.js
4646
│ └── hello-world.js
4747
4848
├── .env.example
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// example code for accessing your credentils from .env file.
22
const ck = require('ckey');
33

4+
// now you can access environment variables including what you set in .env file.
45
const loginUrl = ck.LOGIN_URL;
56
const email = ck.EMAIL;
67
const password = ck.PASSWORD;

0 commit comments

Comments
 (0)