-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
ARCHITECTURE.md
, ARCHITECTURE.png
- Loading branch information
1 parent
32f5b20
commit 1107d86
Showing
4 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Architecture | ||
|
||
> Architecture is layout of something. <br> | ||
> `Server Architecture` is layout of Server, for... <br> | ||
> - good for Maintenance | ||
> - good to develope | ||
> | ||
> References(origin) [> Click](https://www.techopedia.com/definition/30262/server-architecture#:~:text=Server%20architecture%20is%20the%20foundational,the%20services%20that%20it%20provides.) | ||
<img src="./ARCHITECTURE.png" style="width: 700px;"> | ||
|
||
<hr> | ||
|
||
## Explain folder structure | ||
|
||
`Base-Express` is really small Basic Application. | ||
|
||
This app contain only 2 folders for... | ||
|
||
- `src/` - run server | ||
- `test/` - test server | ||
|
||
<hr> | ||
|
||
## Explain src files | ||
|
||
- `index.js` | ||
- Instant Annonymouse Function to hide _Instance and Values_. | ||
- Seperate responsiblity | ||
- From `index.js`... | ||
- Call environment value to `env.js`. | ||
- Run application to `server.js`. | ||
- `env.js` | ||
- Call environment values from `.env` files. | ||
- `server.js` | ||
- Run application, using environment values. | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters