Coder Social home page Coder Social logo

Comments (7)

janishar avatar janishar commented on May 14, 2024

@kafiln Did you use Docker or Manual installation?

from nodejs-backend-architecture-typescript.

kafiln avatar kafiln commented on May 14, 2024

@janishar I tried both ! same result

from nodejs-backend-architecture-typescript.

janishar avatar janishar commented on May 14, 2024

@kafiln did this PR solved your issue?

from nodejs-backend-architecture-typescript.

kafiln avatar kafiln commented on May 14, 2024

@janishar no, it's not related

from nodejs-backend-architecture-typescript.

kafiln avatar kafiln commented on May 14, 2024

@janishar do you pass integration test ? I don't see in the code where the test connect to the db ? Or is it mocked ?
Thank you for your help 👍

from nodejs-backend-architecture-typescript.

janishar avatar janishar commented on May 14, 2024

Yes it creates the test db.
To run the test please verify that you are doing the following:

  1. Run the docker for the mongo instance
  2. Verify that port 27017 is accessible on the localhost and is open
  3. You have created .env.test with the database config
...
#Databse 
DB_NAME=afteracademy-blog-test-db
DB_HOST=localhost
DB_PORT=27017
DB_USER=afteracademy-blog-test-db-user
DB_USER_PWD=changeit
...

Alos, if you can share error logs then I can look into it

from nodejs-backend-architecture-typescript.

kafiln avatar kafiln commented on May 14, 2024

Thank you for your help 👍

from nodejs-backend-architecture-typescript.

Related Issues (16)

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.