Skip to content

tom-rt/user-service-front

Repository files navigation

user-service-front

This project is a simple front-end providing everything you need to handle authentication with JWT. I did it so I can use it as a seed to start any new project using JWT, feel free to do the same !

It implements authentication middleware, guarded routes, cookie token storage to save the session, and axios interceptors to automatically refresh an expired token.

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, check out Nuxt.js docs.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published