micro-link | minimalistic microservice to generate and resolve | Microservice library
kandi X-RAY | micro-link Summary
kandi X-RAY | micro-link Summary
micro-link is a minimalistic microservice that lets you easily generate and resolve sharable dynamic link (a.k.a deeplink). no database. no fancy architecture. just a microservice powered by micro.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of micro-link
micro-link Key Features
micro-link Examples and Code Snippets
Community Discussions
Trending Discussions on micro-link
QUESTION
Hi I'm trying to develop simple api but I couldn't establish connection between api and mongodb. When I send a query to database it hangs and couldn't get response. I am trying to connect to mongo container with this code:
mongoose.connect("mongodb://mongo/micro-linkedin_api_1");
Here is my docker-compose file:
...ANSWER
Answered 2018-Dec-12 at 18:33As I can see in docker-compose you defined 2 services:
api
and mongodb
in Mongoose docs, this is how you connect:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install micro-link
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page