V
V
vaflya2020-01-21 11:01:32
Node.js
vaflya, 2020-01-21 11:01:32

How to organize fastify and nuxt?

Good afternoon, tell me how to organize a project on fastify and nuxt.js?
In the project, one of the conditions for using it is nginx.
I came up with the next one.
1. I install nginx
2. I create 2 repositories for backend (fastify) and frontend (nuxt.js)
3. I raise 2 instances of node.js (back & front)
4. I send requests to nuxt via nginx
5. With api prefix I send requests to fastify (backend)
Tried to find nuxt.js plugins for fastify. The good one was removed, and the other one does not know how to auto-generate routes in nuxt.js
There was an idea to use docker, but the knowledge is weak and I will not have time to meet the deadline.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MSAFT, 2020-04-18
@vaflya

https://github.com/habrauser/fastify_nuxt_typescript

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question