The Neetcode 150 is a popular road map for technical interview preparation questions to work through. After completing the roadmap, it may be helpful to reinforce the learning with repetition. This chrome extension randomly selects a question from a specified category (or all categories by default).
Follow these steps to clone and run the project on your local machine:
-
Clone the repository to your local machine:
git clone https://github.com/f-okd/leetdaily
-
Navigate to the project directory:
cd C:\...\leetdaily
-
Install dependencies:
npm install
-
Build the app:
npm run build
-
Load the extension:
- Navigate to
chrome://extensions/in your chosen chromium browser - Click
load unpacked - Drag
./distfolder into the box - You should be able to see the extension in your extensions tab
- Navigate to
Every time you make a change to the code, make sure you rebuild locally then click reload extension on the extensions dashboard.
Ensure the project functions as expected by following these steps:
-
Follow steps (1-3) from above
-
Run tests:
npm run testAlternatively, one can generate coverage reports using:
npm run test -- --coverage
Contributions are welcome! Here's how you can help:
- Please write tests and try to use semantic commit messages
- Fork the repository
- Create a new branch for your feature or bug fix (look through the github issues)
- Make your changes
- Commit your changes and push to your fork
- Create a pull request
This repository helped me work with the public Leetcode graphql API This medium article helped me configure the service-worker. You may also find them helpful when working with the project.