keyshade-xyz / keyshade

Realtime secret and configuration management tool, with the best in class security and seamless integration support
https://keyshade.xyz
Mozilla Public License 2.0
118 stars 55 forks source link

docs: added running-the-web-app.md #269

Closed qhtutorials closed 2 weeks ago

qhtutorials commented 3 weeks ago

User description

Description

Added running-the-web-app.md to the running-things-locally folder in the docs

Fixes #[185]

Documentation Update


PR Type

Documentation


Description


Changes walkthrough ๐Ÿ“

Relevant files
Documentation
running-the-web-package.md
Added documentation for running the web package locally. 

docs/contributing-to-keyshade/running-things-locally/running-the-web-package.md
  • Added a new markdown file with instructions on running the web
    package.
  • Included commands for development, building, production, linting, and
    testing.
  • Provided a URL for viewing the web app.
  • +52/-0   

    ๐Ÿ’ก PR-Agent usage: Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    codiumai-pr-agent[bot] commented 3 weeks ago

    PR Reviewer Guide ๐Ÿ”

    โฑ๏ธ Estimated effort to review [1-5] 1
    ๐Ÿงช Relevant tests No
    ๐Ÿ”’ Security concerns No
    โšก Key issues to review None
    rajdip-b commented 3 weeks ago

    @kriptonian1 hey bro can you drop a quick review?

    codiumai-pr-agent[bot] commented 3 weeks ago

    PR Code Suggestions โœจ

    CategorySuggestion                                                                                                                                    Score
    Enhancement
    Provide explanations for each command to help new contributors understand their purpose ___ **Adding a brief explanation of what each command does (e.g., what 'npm run dev'
    specifically starts or configures) can provide better context for new contributors who
    might not be familiar with the tools or the project structure.** [docs/contributing-to-keyshade/running-things-locally/running-the-web-package.md [12]](https://github.com/keyshade-xyz/keyshade/pull/269/files#diff-ad64bb6b90c88808b3cf78ffea8e49dff964750c9057db246e55b78a2f657677R12-R12) ```diff ``` -npm run dev +npm run dev # Starts the development server for the web app, allowing live reloading for faster development. ``` ```
    Suggestion importance[1-10]: 9 Why: Adding explanations for each command is highly beneficial for new contributors who may not be familiar with the project or the tools being used. This enhances the documentation's clarity and educational value.
    9
    Best practice
    Include troubleshooting steps to assist users in resolving issues with running commands ___ **It's beneficial to include error handling advice or common troubleshooting steps after the
    command instructions. This can assist users in resolving issues they might encounter while
    running these commands.** [docs/contributing-to-keyshade/running-things-locally/running-the-web-package.md [24]](https://github.com/keyshade-xyz/keyshade/pull/269/files#diff-ad64bb6b90c88808b3cf78ffea8e49dff964750c9057db246e55b78a2f657677R24-R24) ```diff ``` npm run start +# If you encounter any issues, check the Node.js console for errors or consult the troubleshooting guide. ``` ```
    Suggestion importance[1-10]: 8 Why: Adding troubleshooting steps is a valuable addition that can help users resolve common issues, improving the overall usability of the documentation. This suggestion is contextually accurate and enhances the user experience.
    8
    Maintainability
    Organize commands into sections with subheadings for better clarity and maintainability ___ **To enhance clarity and maintainability, consider separating the commands into different
    sections with subheadings for development, building, and testing. This can make the
    document more organized and easier to follow.** [docs/contributing-to-keyshade/running-things-locally/running-the-web-package.md [12-24]](https://github.com/keyshade-xyz/keyshade/pull/269/files#diff-ad64bb6b90c88808b3cf78ffea8e49dff964750c9057db246e55b78a2f657677R12-R24) ```diff +## Development ``` npm run dev ``` +## Build ``` npm run build ``` +## Production ``` npm run start ``` ```
    Suggestion importance[1-10]: 7 Why: Separating commands into sections with subheadings improves the readability and organization of the document. This makes it easier for users to follow the instructions, especially for those who are new to the project.
    7
    rajdip-b commented 2 weeks ago

    Hey @qhtutorials, the steps still feel odd.

    kriptonian1 commented 2 weeks ago

    @kriptonian1 hey bro can you drop a quick review?

    sure

    kriptonian1 commented 2 weeks ago

    @qhtutorials One suggestion, before writing a doc it is recommended to go through the project, and for monorepo check both root and the application package.json if it's a node based project.

    sonarcloud[bot] commented 2 weeks ago

    Quality Gate Passed Quality Gate passed

    Issues
    0 New issues
    0 Accepted issues

    Measures
    0 Security Hotspots
    No data about Coverage
    No data about Duplication

    See analysis details on SonarCloud