Skip to content

Rest Client by Shadmen#27

Open
freennnn wants to merge 115 commits intomainfrom
develop
Open

Rest Client by Shadmen#27
freennnn wants to merge 115 commits intomainfrom
develop

Conversation

@freennnn
Copy link
Owner

@freennnn freennnn commented Apr 20, 2025

  1. Task: link

  2. Screenshot:
    Screenshot 2025-04-20 at 8 55 12 PM

  3. Deploy: link

  4. Youtube vide: link

  5. Tests:
    Tests-coverage

  6. Done 20.04.2025 / deadline 20.04.2025
    Score: 450 / 450

  • Main route - max 50 points
    • The Main page should contain general information about the developers, project, and course. - 10 points
    • In the upper right corner there are 2 buttons: Sign In and Sign Up. - 10 points
    • If the login token is valid and unexpired, the Sign In and Sign Up buttons are replaced with the "Main Page" button. - 10 points
    • When the token expires - the user should be redirected to the Main page automatically. - 10 points
    • Pressing the Sign In / Sign up button redirects a user to the route with the Sign In / Sign up form. - 10 points
  • Sign In / Sign Up - max 50 points
    • Buttons for Sign In / Sign Up / Sign Out are everywhere where they should be. - 10 points
    • Client-side validation is implemented. - 20 points
    • Upon successful login, the user is redirected to the Main page. - 10 points
    • If the user is already logged in and tries to reach these routes, they should be redirected to the Main page. - 10 points
  • RESTful client - max 150 points
    • Functional editor enabling query editing and prettifying, request body provided in the URL as base64-encoded on focus out. - 35 points
    • Functional read-only response section, with information about HTTP status and the code. - 30 points
    • Method selector, shows all the valid HTTP verbs, value is provided in the URL on change. - 15 points
    • Input for the URL, entered value is provided in base64-encoded way on change. - 20 points
    • Headers section, value is provided in the URL on header add/change. - 20 points
    • Code generation section. - 30 points
  • History route - max 50 points
    • History shows informational message with links to the clients when there are no requests in the local storage. - 20 points
    • User can navigate to the previously executed HTTP request to the RESTful client, HTTP method, URL, body, headers are restored. 30 points
  • Variables route - max 50 points
    • Variables show all the added variables, restores them from the local storage on load. - 15 points
    • User can add new, or delete an existing variable, variables in the local storage are updated on change. - 15 points
    • Variables are used in the request before the request execution. - 20 points
  • General requirements - max 50 points
    • Multiple (at lest 2) languages support / i18n. - 30 points
    • Sticky header. - 10 points
    • Errors are displayed in the user friendly format. - 10 points
  • Youtube video - max 50 points

freennnn and others added 30 commits April 2, 2025 14:07
…-header

# Conflicts:
#	app/layout.tsx
#	app/page.tsx
#	package-lock.json
#	package.json
fix: explicit 500 error in case our basic middleware fails (should never happen though:)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
feature: next-intl and supabase middlewares chained
…Client

# Conflicts:
#	app/page.tsx
#	package-lock.json
#	package.json
#	tsconfig.json
@vercel
Copy link

vercel bot commented Apr 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rest-client-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2025 2:26am

@coderabbitai
Copy link

coderabbitai bot commented Apr 20, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

# Conflicts:
#	__tests__/components/HistoryViewer.test.tsx
#	__tests__/components/SignInForm.test.tsx
#	__tests__/components/SignOutButton.test.tsx
#	__tests__/components/SignUpForm.test.tsx
fix: missing url placeholder translation and min height for request generate code section
fix: refresh router (server components) after signin and signup - fol…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants