Skip to content

This is just simple authentication system called 'Epic dragons' made by MERN.

License

Notifications You must be signed in to change notification settings

partner0307/simple-auth

Repository files navigation

simple-auth - Epic dragons

This project is small web called "Epic dragons". The only purpose of this project is to create simple authentication secured by httpOnly cookies for SPA with separated backend and frontend.

Tadao Minami's Dev Card

Project is implemented in MEVN stack:

  • MongoDB
  • Express.js
  • Vue.js
  • Node.js

For authentication are used JSON Web Tokens (JWT). Those are saved in httpOnly cookies. In frontend are httpOnly cookies unreachable so for protecting routes and other stuff in frontend is used state of Vue application. Easy state management is done by Vuex.

commands

  • npm run backend - starts the express server
  • npm run frontend - starts vue development server
  • npm run dev - starts both => backend and frontend
  • npm run build - installs dependencies and builds the frontend

About

This is just simple authentication system called 'Epic dragons' made by MERN.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published