项目
在 GitHub 查看
TahaSh/vue-forum-app
关于
一个使用 vue 和 node 构建的全栈示例应用的前端。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Vue Forum App — Frontend
A fullstack application built with Vue on the frontend and Node/Express on the backend.
Demo Backend
This repo demonstrates almost everything you need to know to build a complete fullstack application using Vue and Node/Express. This demo covers things like:
- Authentication/Authorization with JWT
- Routing
- Communicating with a backend API
- Managing the state of the app with Vuex
- Uploading Images
- Forms Validation
- Handling errors
- Loading states
- More stuff
Running the demo
- Install and run the backend project
- Download this repo
- Create
.envin the root directory, and add:
VUE_APP_API_CLIENT='server'
VUE_APP_API_SERVER_BASE_URL='http://localhost:5000'
I'm here assuming that the backend will run on localhost:5000. If you set VUE_APP_API_CLIENT to mock, you'll use data from the mock store, which means you won't need the backend running.
- Run
npm install - Run
npm run serve
To build it and run it in production mode:
- Run
npm run build - Run
npm run start
探索相关项目
加载中…