rsnext/examples/with-passport-and-next-connect/package.json
Hoang Vo ee372f472f
feat(example): add CRUD example with next-connect and passport (#11359)
* Add with-next-connect example

* Update README

* Fix code and lint

* Fix typo

* Run prettier

* Include username

* Rename example

* Match with-passport styling

* Add comments in code

* Run prettier

* Rewrite example

* Add some comments

* Update README.md

* keys -> secret

* Updated package.json and readme

* UX changes

* Securely encrypt cookie with @hapi/iron

* Update README

* Abstract db related actions and update README

* security: add note on password hashing

* remove unused dep

* Updated readme

Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-04-13 18:07:54 -05:00

20 lines
419 B
JSON

{
"name": "with-passport-and-next-connect",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
},
"dependencies": {
"@hapi/iron": "6.0.0",
"cookie": "0.4.0",
"next": "latest",
"next-connect": "^0.6.1",
"passport": "^0.4.1",
"passport-local": "^1.0.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"swr": "^0.1.18"
},
"license": "ISC"
}