Why?
With my tool, merced-spinup you can scaffold a frontend OR backend project with ease from a wide selection of templates across all the main NodeJS frontend and backend frameworks. Although you still have to run the command twice, and I'm thinking... how can I make this easier.
enter make-fullstack-app
make-fullstack-app expects you want to build an API on the backend and consume it with a frontend so it generate the backend and frontend template of your choice in appropriately named folders (backend and frontend.)
It is pretty simple to use...
Express App
React Frontend
npx make-fullstack-app express react
Vue Frkoa
npx make-fullstack-app express vue
Angular Frontend
npx make-fullstack-app express angular
Svelte Frontend
npx make-fullstack-app express svelte
Koa App
React Frontend
npx make-fullstack-app koa react
Vue Frontend
npx make-fullstack-app koa vue
Angular Frontend
npx make-fullstack-app koa angular
Svelte Frontend
npx make-fullstack-app koa svelte
Fastify App
React Frontend
npx make-fullstack-app fastify react
Vue Frontend
npx make-fullstack-app fastify vue
Angular Frontend
npx make-fullstack-app fastify angular
Svelte Frontend
npx make-fullstack-app fastify svelte
Polka App
React Frontend
npx make-fullstack-app polka react
Vue Frontend
npx make-fullstack-app polka vue
Angular Frontend
npx make-fullstack-app polka angular
Svelte Frontend
npx make-fullstack-app polka svelte
Merver App
React Frontend
npx make-fullstack-app merver react
Vue Frontend
npx make-fullstack-app merver vue
Angular Frontend
npx make-fullstack-app merver angular
Svelte Frontend
npx make-fullstack-app merver svelte
Bottom Line
There are many more combination, just read the docs! Head over to AlexMercedCoder.com to see my gallery of NodeJS Libraries to find the documentation.