Skip to content

Project I made to teach myself basic principles of JWT authentication and authorization on both backend and frontend.

Notifications You must be signed in to change notification settings

filiptoma/jwt-auth-app

Repository files navigation

Auth App

Auth App is a project I made to teach myself basic principles of user authentication and authorization with jsonwebtokens.

However, instead of just coding up a simple auth server and API, I wanted to make a full stack app, to integrate auth on frontend too. I went with Nuxt.js, so that I could easily render the content on the server.

The app is fully open-source, so feel free to play around with it, or include it's code in your project. 😊

How to build the app

First clone this repo and install dependencies:

npm i

Then rename .env.example to .env so that you can connect to the database:

mv .env.example .env

Now you can start the dev server using:

# runs on port 3000
npm run dev

And the auth server with:

# runs on port 4000
npm run auth

Bugs, issues or questions?

If you find any bugs, or have any questions regarding the project, please contact me.

About

Project I made to teach myself basic principles of JWT authentication and authorization on both backend and frontend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published