Skip to content

ThierryGibbons/CS205-Password-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Passwords Made Easy

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js (version 12.x or above)
  • npm (latest version)

You can check your node and npm versions with the following commands:

node -v
npm -v

Installation

Follow these steps to install Password Manager:

Clone the repository:

git clone https://github.com/ThierryGibbons/CS205-Password-Manager.git

Client

  1. Navigate to the website directory:
cd './Passwords Made Easy'
  1. Install dependencies with npm:
npm install

Backend

  1. Navigate to the server directory:
cd './Server'
  1. Create a Python virtual environment for the Flask backend:
python3 -m venv venv
  1. Activate the virtual environment:

On Windows

.\venv\Scripts\activate

On macOS/Linux

source venv/bin/activate
  1. Install additional Python packages required for Auth0 integration and backend functionality:
pip install authlib python-dotenv Flask-CORS requests Flask Flask-SQLAlchemy

Running the Project

After installation, you can run the project locally:

Client

  1. Navigate to the Passwords Made Easy directory:
cd './Passwords Made Easy'
  1. Run the development server:
npm run dev

Backend

  1. Navigate to the server directory:
cd './Server'
  1. Activate the virtual environment:

On Windows

.\venv\Scripts\activate

On macOS/Linux

source venv/bin/activate
  1. Run the Flask server:
python3 app.py

Frontend - Extension

Ensure the Flask server is running before starting the frontend.

  1. Navigate to the Extension directory:
cd './Extension'
  1. Run the development server:
npm run dev

This command will start a local development server.

Building for Production

Client

  1. Within the Passwords Made Easy directory, run:
npm run build

This will generate a dist/ directory with your compiled project.

  1. Move this dist/ directory to the Server directory.
cp -r ./dist ../Server

Backend

  1. Within the Server directory, open the virtual environment,
source venv/bin/activate
  1. then run:
flask run --host=localhost --port=5173

Extension

  1. Within the Extension directory, run:
npm run build

This will generate a dist/ directory with your compiled project.

  1. Load the extension into Chrome, navigate to chrome://extensions/ and enable Developer Mode.

  2. Click "Load unpacked" and select the dist/ directory.

Contributing

Commit Guidelines: https://dev.to/ishanmakadia/git-commit-message-convention-that-you-can-follow-1709

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published