Node app project structure issue

Hi,

If we import this node app, https://github.com/TypingDNA/Demos/tree/master/NodeJs/login, by first importing, https://github.com/TypingDNA/Demos.git, and then deleting the folders, Php/anytext, NodeJs/anytext, & NodeJs/sametext, how do we access the app? If we run the app on localhost, we can access the app at localhost:3000. What changes do we need to make on glitch? We appreciate the cooperation of forum members.

You should just be able to click the “show” button and view your project. Glitch’s default port is 3000, so this app should run fine.

1 Like

Clicking the show button does not work. You may try it.

Can you describe what happens when you press it?

Probably what happens is it just shows a white screen. Try putting in

app.get("/", (res, res) => {res.send("Hello, World!")})

You’ll need to navigate to the folder in this case.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.