Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

RMjessica/jwt-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

193 Commits

Repository files navigation

✨ Login/Register Fullstack Flow

Authentication.Flow.mp4

About this project:

  • Signup: The user chooses an email, a password and submits the sign up form. A new user is created in the database and is redirected to login form after submit.
  • Login: The user fills out its email and password and it's redirected to the private dashboard after successfull authentication.
  • Validation: Any page considered "private" must always validate that the current user is valid, if not, the page must redirect the user back to login.
  • Logout: At any moment the user will have a "logout" button accessible in the navbar and it will get redirected back to the login path.

Technologies:

  • React.js front end and python/flask backend .
  • Integrated with Pipenv for package managing.
  • SQLAlchemy integration for database abstraction.

Back-End Manual Installation:

It is recomended to install the backend first, make sure you have Python 3.8, Pipenv and a database engine (Posgress recomended)

  1. Install the python packages: $ pipenv install
  2. Run the application: $ pipenv run start

Front-End Manual Installation:

  • Make sure you are using node version 14+ and that you have already successfully installed and runned the backend.
  1. Install the packages: $ npm install
  2. Start coding! start the webpack dev server $ npm run start

About

Login/Register fullstack flow. This is a simple JWT Authentication System with Flask & React.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 15

AltStyle によって変換されたページ (->オリジナル) /