Skip to content

MZanggl/adonis-vue-without-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Adonis Vue without API

Prototype 2 of an idea to unite frontend and backend seamlessly. First prototype is here.

Start the project

Requires adonis cli.

cd ui && npm run serve
cd api && adonis serve --dev

The interesting bits

  • /api/app/Actions/user.js: backend actions the frontend will use
  • /ui/src/App.vue: frontend component making use of the backend actions
  • .seamlesslyrc.json: rc file that binds backend and frontend seamlessly
  • /api/start/routes.js: generates the routes in API and rc file
  • /ui/vue.config.js: configures webpack loader to turn imports of API actions into fetch requests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages