Coder Social home page Coder Social logo

Comments (4)

DanWahlin avatar DanWahlin commented on August 27, 2024

Hi Thomas. Everything works out of the box without any changes so something isn't quite right there. No need for cross-origin files, etc. If you're running it with Node.js (and ran through the steps for Mongo and npm) then you should be able to fire up Node.js and then hit the app in the browser. Only port 3000 is used for the Node.js option - not sure where the 51511 port is coming from since that's not something the app uses.

If you want to run it in Visual Studio you can load it and press F5 and it'll run. If you want to use Node.js then VS isn't needed at all (and you wouldn't start it - would mess things up) and you would just start up the Node.js server as shown in the readme. If Node is throwing any specific errors let me know but it should definitely fire right up if you ran through the readme steps.

from customermanager.

thomas-tran avatar thomas-tran commented on August 27, 2024

Hi Dan

The port 51511 come from iis express when you hit

Thomas
On 27/11/2014 12:14 PM, "Dan Wahlin" [email protected] wrote:

Hi Thomas. Everything works out of the box without any changes so
something isn't quite right there. No need for cross-origin files, etc. If
you're running it with Node.js (and ran through the steps for Mongo and
npm) then you should be able to fire up Node.js and then hit the app in the
browser. Only port 3000 is used for the Node.js option - not sure where the
51511 port is coming from since that's not something the app uses.

If you want to run it in Visual Studio you can load it and press F5 and
it'll run. If you want to use Node.js then VS isn't needed at all (and you
wouldn't start it - would mess things up) and you would just start up the
Node.js server as shown in the readme.


Reply to this email directly or view it on GitHub
#21 (comment)
.

from customermanager.

DanWahlin avatar DanWahlin commented on August 27, 2024

Ah - based on the start of your comment I was assuming you were only using Node.js (VS only for debugging it sounded like). If you're running it direct through Visual Studio (IIS) then it'll take care of everything and you should be able to open the solution and press F5 to have it run (just re-verified that works as expected).

If you want to run it through Node.js then you won't use VS at all (or IIS) and you'll have to start the Node.js server as shown in the readme.

You basically need to choose one or the other since I offer two options there for the backend. That would explain the cross-origin issue. You won't get that if you run specifically in Node.js or specifically in VS.

from customermanager.

thomas-tran avatar thomas-tran commented on August 27, 2024

Hi Dan,

It worked perfectly, thank you for your help.

Thomas.

from customermanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.