Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Sobolev5/starlette-vue-frontend

Repository files navigation

starlette-vue

Starlette-Vue is a simple example that allows you to quickly get started with the Starlette framework "the same as Django structure" with Vue.js frontend.

Starlette part (https://github.com/Sobolev5/starlette-vue-backend):

  • JWT authentication middleware with token refresh view
  • Extended User model
  • Register and login views
  • Tortoise ORM

Vue.js part (https://github.com/Sobolev5/starlette-vue-frontend):

  • Vuex JWT authentication
  • Register and login views (with Starlette backend)
  • Bootstrap 4 on board
  • SB admin 2 on board

starlette-vue frontend part

Clone frontend part, modify .env.development.example and rename it

$ git clone https://github.com/Sobolev5/starlette-vue-backend
$ cd starlette-vue-frontend
$ npm install
$ nano .env.example
$ mv .env.example .env

Run the project.

$ npm run serve --fix

Open your browser at http://localhost:8080 and see response from the main endpoint of Vue.js

About

Starlette-Vue. Frontend part.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published