Express + Typescript + Mongo – Part 2 – Connecting to Mongo

You may also like...

2 Responses

  1. Arif says:

    Hi Sir,
    Sir u run code in port no 8080 but u give input in localhost//3000/1/ , how u run that one .
    How u connect to angular server .

  2. Dan says:

    It’s been awhile since I’ve looked at this project, but I believe the Express server is configured to run on port 8080 but the AngularJS server is configured to run on port 3000. You’ll need to run both at the same time in order to get this set up working. Refer to the AngularJS source code here: https://github.com/synaptik-labs/angularjs-series-1

    At this point, I would not recommend using AngularJS to build anything. Instead, you should look at Angular.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.