Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 964 Bytes

File metadata and controls

35 lines (25 loc) · 964 Bytes

Architecture

Architecture is layout of something.
Server Architecture is layout of Server, for...

  • good for Maintenance
  • good to develope

References(origin) > Click

Explain folder structure

Base-Express is really small Basic Application.

This app contain only 2 folders for...

  • src/ - run server
  • test/ - test server

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.