Magento access database from other application - magento

I'm building an application an i need access to my magento database, so i can get sales and warehouse info live in my application.
Is there a possibility to do that?

You should use Magento REST API

Related

How do I access the a passport js session using an API?

I'm making a PERN stack mock e-commerce app. I've got passport js installed with the passport-google-oauth20 strategy and I can successfully log into google. I want to make an API to access the user id so I can then pull up the correct order history from the db, but I'm not sure how to access the session that passport creates.
Any help would be much appreciated!
If you are using express sessions, it should create a sessions table in your database. From there you can create an API route that accesses the database and returns the session data.

How to sync Firebase Database containing product data (Picture, Price) to show up on website Laravel?

We have a Firebase database connected with an APP which we want to convert to a website now. Laravel is nice frame work but unfortunately unable to sync the existing database to show up on the website as is. End goal is that any changes through an APP should reflect on the website and vice versa. Existing database include the product price, picture, ability for users to message each other , user authentication. In essence it is almost a complete market place.
If you want to use data from the Firebase Realtime Database in a web app/site, consider simply using its JavaScript SDK in your web application.
Doing so allows you app to directly read data from the database, instead of having to set up a web server in Laravel.
To ensure that your users only get access to data they're authorized for, you'll want to use Firebase's security rules. These are enforced on the Firebase server, so once you configure them correctly, there's no way for anyone to bypass them.

Is Ehcache force reload possible?

I have two separate web applications to handle a website for customers and other admin application for call center agents. Using the build script I am bundling the same model classes into both web applications.
There is a database for customers where we keep the password. If we change the password from website it should be immediately shown in the admin site. I am not using distributed cache.
Is there a simple way that I can enforce reload from database for a specific flow? So that I can reload from database if I want to get the password property.
If you don`t want using distributed cache, you could remove element from admin cache. Customers application should notify admin application about this event. Possible way to notify is simple rest call.

can I work with Microsoft Commerce server, catalog API , with Windows Service Application

I worked before with "Microsoft Commerce server 2007" and used it's Catalog API to get products data in my web site.
But I have a requirement to make a windows service that uses the commerce product catalog data, but I don't know how to adjust the APP.Config of this service to get data.
Every time I try commerce code it returns Null "CommerceContext.Current"== null
any Idea or sample config?
You need to create a CatalogContext object in Local or Agent mode. See How to Create a CatalogContext Object for details.
CommerceContext.Current is only non-null when running in the context of an ASP.NET web application.

Can Magento Have multiple stores under one install?

I want to know whether it is possible to have multiple stores under 1 Magento installations.. which means there will be 3-4 Paypal accounts integrated on my site and each product is integrated to 1 one of them.
Yes. All PayPal module settings have website or store view configuration scopes.

Resources