https://github.com/anwarasry/password-manager
A Password Management Website that securely stores and manages login credentials, featuring encrypted storage, and a user-friendly dashboard for adding, searching, and editing accounts.
https://github.com/anwarasry/password-manager
cryptojs google-api mongodb mongoose nextauthjs nextjs sass typescript
Last synced: 3 months ago
JSON representation
A Password Management Website that securely stores and manages login credentials, featuring encrypted storage, and a user-friendly dashboard for adding, searching, and editing accounts.
- Host: GitHub
- URL: https://github.com/anwarasry/password-manager
- Owner: AnwarAsry
- Created: 2024-11-28T09:14:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-20T00:02:07.000Z (over 1 year ago)
- Last Synced: 2025-04-01T09:07:44.478Z (over 1 year ago)
- Topics: cryptojs, google-api, mongodb, mongoose, nextauthjs, nextjs, sass, typescript
- Language: TypeScript
- Homepage:
- Size: 445 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Password Manager
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
## Getting Started
First, after downloading this project switch to the dev branch.
Secondly, install necessary packages by running:
``` bash
npm i
# or
npm install
```
Thirdly, create a ```.env.local``` file in the root of the project and add the following:
```
GOOGLE_CLIENT_ID=ADD_YOUR_OWN_GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET=ADD_YOUR_GOOGLE_CLIENT_SECRET
MONGODB_URI=ADD_YOUR_OWN_URILINK_FROM_MONGODB
NEXT_PUBLIC_BASE_URL="http://localhost:3000/"
// This is a random value used by the authjs to encrypt tokens and email verification hashes
// This is the same as NEXTAUTH_SECRET in their documentation
AUTH_SECRET=ADD_YOUR_OWN_SECRET_AUTH_CODE
NODE_ENV="development"
// For encryption and decryption
SECRET_KEY=GENERATE_YOUR_OWN_STRING_FOR_ENCRYPTION
```
Visit this link for google client tokens and register and setup a OAuth applicattion: https://cloud.google.com/?hl=en
Visit MongoDB and setup a cluster: https://www.mongodb.com/
AuthJs or NextAuthJS documentation:
https://authjs.dev/
https://next-auth.js.org/
Fourthly, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.