Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/huobazi/vuejs-with-rails-api-and-jwt-example
Vue.js example with rails-api and JWT
https://github.com/huobazi/vuejs-with-rails-api-and-jwt-example
element-ui jwt jwt-auth jwt-authentication jwt-token jwt-tokens rails-api vue vuejs vuejs2
Last synced: 6 days ago
JSON representation
Vue.js example with rails-api and JWT
- Host: GitHub
- URL: https://github.com/huobazi/vuejs-with-rails-api-and-jwt-example
- Owner: huobazi
- Created: 2018-11-08T10:59:18.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T11:20:47.000Z (almost 2 years ago)
- Last Synced: 2023-03-22T17:18:24.261Z (over 1 year ago)
- Topics: element-ui, jwt, jwt-auth, jwt-authentication, jwt-token, jwt-tokens, rails-api, vue, vuejs, vuejs2
- Language: Ruby
- Homepage: https://huobazi.github.io/vuejs-with-rails-api-and-jwt-example/
- Size: 1.58 MB
- Stars: 12
- Watchers: 1
- Forks: 4
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 前后端分离示例
- vuejs 做前端
- rails-api 做后端
- JWT 做验证## clone the repo
```
git clone https://github.com/huobazi/vuejs-with-rails-api-and-jwt-example.git
```## run the backend
```
cd vuejs-with-rails-api-example/back-endbundle
bundle exec rails db:migrate
bundle exec rails s
```## run the frotend
```
cd vuejs-with-rails-api-example/front-endnpm install
npm run serve
```