Skip to content

riyadh-dev/authentication-demo

Repository files navigation

Authentication Demo

An Auth demo using HTTPOnly cookies and CSRF protection

Live preview:

Installation

Use the package manager yarn project dependencies.

yarn

You also need a running local instance of mongodb server, or if you are using a remote instance change the MONGODB_URI in .env.development

.env.development

MONGODB_URI=<past your uri here>

Usage

# start dev backend server
yarn server start:dev

# start dev backend server with debugging
yarn server start:debug

# start dev client server
yarn client start

You can check other scripts in package.json of the root repo and each package

About

An auth demo using HTTPOnly cookies and CSRF protection

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published