/    Sign up×
Community /Pin to ProfileBookmark

Node.js and Microservices

Hello, 

Please consider the following picture: 

These are parts of a website written in Node.js. Each of them has its own package.json file. A normal website usually has an index.html file that the web server sees and the entire website is loaded. I have some questions:

1- Don’t microservices have something called index.html?

2- Should a container be created for each of these projects?

Thank you.

to post a comment
Node.js

2 Comments(s)

Copy linkTweet thisAlerts:
@sibertApr 21.2024 — 1- Don’t microservices have something called index.html?

Normally No. But it depends on its purpose. A micro service can theoretically be a log in routine with pages. But normally there is only "endpoints".

2- Should a container be created for each of these projects?

If you mean docker container - it is not necessary but it may be an option.
Copy linkTweet thisAlerts:
@cleaningwalaMay 01.2024 — [this comment has been flagged for review]
×

Success!

Help @Hack3rcon spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.3,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...