25 lines
1.1 KiB
Markdown
25 lines
1.1 KiB
Markdown
- frontEnd
|
|
|
|
Vue 2 + Vite app in frontEnd with Tailwind, router, pages, components
|
|
and an API service pointing to http://localhost:8020/api. Next, run:
|
|
npm install
|
|
npm run dev
|
|
Files added:
|
|
frontEnd/package.json, vite.config.js, tailwind.config.cjs, postcss.config.cjs, index.html
|
|
src/main.js, src/App.vue, src/assets/tailwind.css
|
|
src/router/index.js
|
|
src/services/api.js
|
|
src/pages/Dashboard.vue, src/pages/WordList.vue, src/pages/WordEditor.vue, src/pages/SearchPage.vue
|
|
src/components/WordTable.vue, src/components/WordCard.vue, src/components/WordForm.vue, src/components/SearchModal.vue
|
|
src/mock/sampleWord.json
|
|
API proxy in dev is also set in vite.config.js for /api to http://localhost:8020.
|
|
Search flow:
|
|
Go to /search, submit filters; it POSTs to /api/search and shows results with an edit link to /word/:id/edit.
|
|
If you want, I can install dependencies and start the dev server now.
|
|
|
|
-----------------------------------------------------------------------------------------------------------------------------
|
|
- backEnd
|
|
FastApi
|
|
|
|
|
|
----------------------------------------------------------------------------------------------------------------------------- |