A
A
Alexey Bespalov2019-03-12 05:18:02
Express.js
Alexey Bespalov, 2019-03-12 05:18:02

What technologies are needed for microservice?

Greetings!
Tell me what technologies I need for the microservice of working with a cloud PBX.
Given:
When an incoming or outgoing call is made, the cloud PBX sends a POST request to the specified address. Transmits call ID and other information.
The call ID is needed to then request a call recording from the cloud PBX server. Those. I need to save it, for example mongodb. (just getting a list of calls from them is not yet possible)
At the moment I have vue and vuetify skills. This is what I want to build the frontend on.
Application, I think it will be one-page.
Q: Do I need to use some kind of server technology like express or something else to make development and management easier.
Or is it easier to use only node.js to listen to the port, take parameters from the request, write or read from the database.
It's just that all the examples around SSR, as I read, are spinning for server rendering, routes and the existence of physical pages (views). I do not need it. Nevertheless, it seems like frameworks should simplify the life of a developer.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex, 2019-03-12
@FreeArcher

node.js - must be on the server, accept requests, work with the database. Roughly speaking: node.js is your entire application. If you also need a visual interface for management. Then in the same place on the server you add a new API branch.
And you already separately write a front-end on vue, which works with this API.

V
Victor L, 2019-03-12
@Fzero0

Well, if on your knee (hipster version, coasting)
1. Buy VDS hosting
2. Deploy Ubuntu on it (or whatever you like)
3. Install Nodejs
4. Install Mongodb You can
create a backend out of the box with api Take KeystoneJS (Node.js CMS & web app platform)
5 Starting KeystoneJS project with Nuxt.js
5.1 Create the required data model, describe what will come from the cloud PBX
5.2 Set up the keystonejs API to receive only
6 Well, write a frontend in Nuxt.js (well, almost Vue :)) and all that you need

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question