Skip to content

Feat/corenotes#72

Open
filipevolz wants to merge 3 commits into
corelabbr:mainfrom
filipevolz:feat/corenotes
Open

Feat/corenotes#72
filipevolz wants to merge 3 commits into
corelabbr:mainfrom
filipevolz:feat/corenotes

Conversation

@filipevolz

@filipevolz filipevolz commented Jul 3, 2025

Copy link
Copy Markdown

Summary by CodeRabbit

  • Documentation

    • Major update to project documentation, including a complete rewrite of the README in Portuguese with updated setup instructions, project structure, features, and technology stack.
    • Removal of the previous README and additional documentation files.
  • Chores

    • Removal of various configuration files, environment examples, and ignore files.
    • Deletion of backend-related files, type declarations, and test contracts.
    • Addition of a new environment variable for database connection.
  • Refactor

    • Significant cleanup of backend and configuration artifacts, focusing the project structure on the frontend implementation.

@coderabbitai

coderabbitai Bot commented Jul 3, 2025

Copy link
Copy Markdown

Walkthrough

This update removes all AdonisJS backend configuration, source, and contract files, effectively eliminating the Node.js backend from the project. It introduces a new DATABASE_URL variable in the .env file, deletes the .env.example, and replaces the README with a Portuguese, front-end-focused version. The project now centers exclusively on the React.js frontend.

Changes

File(s) Change Summary
.adonisrc.json, ace, ace-manifest.json Removed AdonisJS core configuration and CLI entry/manifest files.
.gitignore, .gitignore copy Deleted all Git ignore patterns.
.prettierignore Removed "build" directory from Prettier ignore list.
.env Added DATABASE_URL for PostgreSQL connection.
.env.example Deleted environment variable example template.
Leiame.md Deleted detailed challenge README (in Portuguese).
README.md Rewritten and expanded in Portuguese, focused on frontend; removed backend and challenge instructions.
app/Controllers/VehiclesController.ts Deleted VehiclesController class and its static vehicle endpoint.
app/Exceptions/Handler.ts Deleted AdonisJS HTTP exception handler class.
app/Types/Vehicle.ts Deleted IVehicle TypeScript interface.
commands/index.ts Deleted dynamic command export logic.
config/app.ts, config/bodyparser.ts, config/cors.ts, config/drive.ts, config/hash.ts Deleted all AdonisJS configuration files (app, bodyparser, CORS, drive, hash).
contracts/drive.ts, contracts/env.ts, contracts/events.ts, contracts/hash.ts, contracts/tests.ts Deleted all AdonisJS contract/type declaration augmentations.
env.ts Deleted environment variable validation schema.

Sequence Diagram(s)

No sequence diagram generated; changes are primarily deletions and documentation updates.

Poem

🐇
Goodbye to backend, configs, and code,
The frontend now takes the starring road!
Portuguese docs, a new README in place,
The database URL sets the pace.
With React we hop, with joy we cheer—
The rabbit’s frontend vision is finally here!

✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 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.
    • Explain this complex logic.
    • 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 explain this code block.
    • @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 explain its main purpose.
    • @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.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

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 generate sequence diagram to generate a sequence diagram of the changes in 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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
README.md (1)

120-120: Wrap bare URL to silence markdownlint and improve readability

http://localhost:5173 is flagged by MD034. Minor fix:

- Acesse no navegador: http://localhost:5173
+ Acesse no navegador: [http://localhost:5173](http://localhost:5173)
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 328ccdd and e36cd96.

⛔ Files ignored due to path filters (275)
  • node_modules/.bin/acorn is excluded by !**/node_modules/**
  • node_modules/.bin/mkdirp is excluded by !**/node_modules/**
  • node_modules/.bin/resolve is excluded by !**/node_modules/**
  • node_modules/.bin/rimraf is excluded by !**/node_modules/**
  • node_modules/.bin/tree-kill is excluded by !**/node_modules/**
  • node_modules/.bin/ts-node is excluded by !**/node_modules/**
  • node_modules/.bin/ts-node-cwd is excluded by !**/node_modules/**
  • node_modules/.bin/ts-node-dev is excluded by !**/node_modules/**
  • node_modules/.bin/ts-node-esm is excluded by !**/node_modules/**
  • node_modules/.bin/ts-node-script is excluded by !**/node_modules/**
  • node_modules/.bin/ts-node-transpile-only is excluded by !**/node_modules/**
  • node_modules/.bin/ts-script is excluded by !**/node_modules/**
  • node_modules/.bin/tsc is excluded by !**/node_modules/**
  • node_modules/.bin/tsnd is excluded by !**/node_modules/**
  • node_modules/.bin/tsserver is excluded by !**/node_modules/**
  • node_modules/.package-lock.json is excluded by !**/node_modules/**
  • node_modules/@cspotcode/source-map-support/LICENSE.md is excluded by !**/node_modules/**
  • node_modules/@cspotcode/source-map-support/README.md is excluded by !**/node_modules/**
  • node_modules/@cspotcode/source-map-support/browser-source-map-support.js is excluded by !**/node_modules/**
  • node_modules/@cspotcode/source-map-support/package.json is excluded by !**/node_modules/**
  • node_modules/@cspotcode/source-map-support/register-hook-require.d.ts is excluded by !**/node_modules/**
  • node_modules/@cspotcode/source-map-support/register-hook-require.js is excluded by !**/node_modules/**
  • node_modules/@cspotcode/source-map-support/register.d.ts is excluded by !**/node_modules/**
  • node_modules/@cspotcode/source-map-support/register.js is excluded by !**/node_modules/**
  • node_modules/@cspotcode/source-map-support/source-map-support.d.ts is excluded by !**/node_modules/**
  • node_modules/@cspotcode/source-map-support/source-map-support.js is excluded by !**/node_modules/**
  • node_modules/@jridgewell/resolve-uri/LICENSE is excluded by !**/node_modules/**
  • node_modules/@jridgewell/resolve-uri/README.md is excluded by !**/node_modules/**
  • node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map is excluded by !**/dist/**, !**/node_modules/**, !**/*.map
  • node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map is excluded by !**/dist/**, !**/node_modules/**, !**/*.map
  • node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/resolve-uri/package.json is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/LICENSE is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/README.md is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map is excluded by !**/dist/**, !**/node_modules/**, !**/*.map
  • node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map is excluded by !**/dist/**, !**/node_modules/**, !**/*.map
  • node_modules/@jridgewell/sourcemap-codec/package.json is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/src/scopes.ts is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/src/strings.ts is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/src/vlq.ts is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts.map is excluded by !**/node_modules/**, !**/*.map
  • node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts.map is excluded by !**/node_modules/**, !**/*.map
  • node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts.map is excluded by !**/node_modules/**, !**/*.map
  • node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts.map is excluded by !**/node_modules/**, !**/*.map
  • node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts.map is excluded by !**/node_modules/**, !**/*.map
  • node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts.map is excluded by !**/node_modules/**, !**/*.map
  • node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts.map is excluded by !**/node_modules/**, !**/*.map
  • node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts is excluded by !**/node_modules/**
  • node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts.map is excluded by !**/node_modules/**, !**/*.map
  • node_modules/@jridgewell/trace-mapping/LICENSE is excluded by !**/node_modules/**
  • node_modules/@jridgewell/trace-mapping/README.md is excluded by !**/node_modules/**
  • node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map is excluded by !**/dist/**, !**/node_modules/**, !**/*.map
  • node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map is excluded by !**/dist/**, !**/node_modules/**, !**/*.map
  • node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/@jridgewell/trace-mapping/package.json is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node10/LICENSE is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node10/README.md is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node10/package.json is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node10/tsconfig.json is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node12/LICENSE is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node12/README.md is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node12/package.json is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node12/tsconfig.json is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node14/LICENSE is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node14/README.md is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node14/package.json is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node14/tsconfig.json is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node16/LICENSE is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node16/README.md is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node16/package.json is excluded by !**/node_modules/**
  • node_modules/@tsconfig/node16/tsconfig.json is excluded by !**/node_modules/**
  • node_modules/@types/body-parser/LICENSE is excluded by !**/node_modules/**
  • node_modules/@types/body-parser/README.md is excluded by !**/node_modules/**
  • node_modules/@types/body-parser/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/body-parser/package.json is excluded by !**/node_modules/**
  • node_modules/@types/connect/LICENSE is excluded by !**/node_modules/**
  • node_modules/@types/connect/README.md is excluded by !**/node_modules/**
  • node_modules/@types/connect/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/connect/package.json is excluded by !**/node_modules/**
  • node_modules/@types/cors/LICENSE is excluded by !**/node_modules/**
  • node_modules/@types/cors/README.md is excluded by !**/node_modules/**
  • node_modules/@types/cors/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/cors/package.json is excluded by !**/node_modules/**
  • node_modules/@types/express-serve-static-core/LICENSE is excluded by !**/node_modules/**
  • node_modules/@types/express-serve-static-core/README.md is excluded by !**/node_modules/**
  • node_modules/@types/express-serve-static-core/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/express-serve-static-core/package.json is excluded by !**/node_modules/**
  • node_modules/@types/express/LICENSE is excluded by !**/node_modules/**
  • node_modules/@types/express/README.md is excluded by !**/node_modules/**
  • node_modules/@types/express/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/express/package.json is excluded by !**/node_modules/**
  • node_modules/@types/http-errors/LICENSE is excluded by !**/node_modules/**
  • node_modules/@types/http-errors/README.md is excluded by !**/node_modules/**
  • node_modules/@types/http-errors/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/http-errors/package.json is excluded by !**/node_modules/**
  • node_modules/@types/mime/LICENSE is excluded by !**/node_modules/**
  • node_modules/@types/mime/Mime.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/mime/README.md is excluded by !**/node_modules/**
  • node_modules/@types/mime/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/mime/lite.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/mime/package.json is excluded by !**/node_modules/**
  • node_modules/@types/node/LICENSE is excluded by !**/node_modules/**
  • node_modules/@types/node/README.md is excluded by !**/node_modules/**
  • node_modules/@types/node/assert.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/assert/strict.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/async_hooks.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/buffer.buffer.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/buffer.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/child_process.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/cluster.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/compatibility/iterators.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/console.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/constants.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/crypto.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/dgram.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/diagnostics_channel.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/dns.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/dns/promises.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/dom-events.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/domain.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/events.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/fs.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/fs/promises.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/globals.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/globals.typedarray.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/http.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/http2.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/https.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/inspector.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/module.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/net.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/os.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/package.json is excluded by !**/node_modules/**
  • node_modules/@types/node/path.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/perf_hooks.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/process.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/punycode.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/querystring.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/readline.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/readline/promises.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/repl.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/sea.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/sqlite.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/stream.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/stream/consumers.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/stream/promises.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/stream/web.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/string_decoder.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/test.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/timers.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/timers/promises.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/tls.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/trace_events.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/ts5.1/compatibility/disposable.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/ts5.1/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/ts5.6/buffer.buffer.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/ts5.6/compatibility/float16array.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/ts5.6/globals.typedarray.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/ts5.6/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/ts5.7/compatibility/float16array.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/ts5.7/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/tty.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/url.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/util.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/v8.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/vm.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/wasi.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/worker_threads.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/node/zlib.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/pg/LICENSE is excluded by !**/node_modules/**
  • node_modules/@types/pg/README.md is excluded by !**/node_modules/**
  • node_modules/@types/pg/index.d.mts is excluded by !**/node_modules/**
  • node_modules/@types/pg/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/pg/lib/connection-parameters.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/pg/lib/type-overrides.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/pg/package.json is excluded by !**/node_modules/**
  • node_modules/@types/qs/LICENSE is excluded by !**/node_modules/**
  • node_modules/@types/qs/README.md is excluded by !**/node_modules/**
  • node_modules/@types/qs/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/qs/package.json is excluded by !**/node_modules/**
  • node_modules/@types/range-parser/LICENSE is excluded by !**/node_modules/**
  • node_modules/@types/range-parser/README.md is excluded by !**/node_modules/**
  • node_modules/@types/range-parser/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/range-parser/package.json is excluded by !**/node_modules/**
  • node_modules/@types/send/LICENSE is excluded by !**/node_modules/**
  • node_modules/@types/send/README.md is excluded by !**/node_modules/**
  • node_modules/@types/send/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/send/package.json is excluded by !**/node_modules/**
  • node_modules/@types/serve-static/LICENSE is excluded by !**/node_modules/**
  • node_modules/@types/serve-static/README.md is excluded by !**/node_modules/**
  • node_modules/@types/serve-static/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/serve-static/package.json is excluded by !**/node_modules/**
  • node_modules/@types/strip-bom/README.md is excluded by !**/node_modules/**
  • node_modules/@types/strip-bom/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/strip-bom/package.json is excluded by !**/node_modules/**
  • node_modules/@types/strip-bom/types-metadata.json is excluded by !**/node_modules/**
  • node_modules/@types/strip-json-comments/LICENSE is excluded by !**/node_modules/**
  • node_modules/@types/strip-json-comments/README.md is excluded by !**/node_modules/**
  • node_modules/@types/strip-json-comments/index.d.ts is excluded by !**/node_modules/**
  • node_modules/@types/strip-json-comments/package.json is excluded by !**/node_modules/**
  • node_modules/accepts/HISTORY.md is excluded by !**/node_modules/**
  • node_modules/accepts/LICENSE is excluded by !**/node_modules/**
  • node_modules/accepts/README.md is excluded by !**/node_modules/**
  • node_modules/accepts/index.js is excluded by !**/node_modules/**
  • node_modules/accepts/package.json is excluded by !**/node_modules/**
  • node_modules/acorn-walk/CHANGELOG.md is excluded by !**/node_modules/**
  • node_modules/acorn-walk/LICENSE is excluded by !**/node_modules/**
  • node_modules/acorn-walk/README.md is excluded by !**/node_modules/**
  • node_modules/acorn-walk/dist/walk.d.mts is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/acorn-walk/dist/walk.d.ts is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/acorn-walk/dist/walk.js is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/acorn-walk/dist/walk.mjs is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/acorn-walk/package.json is excluded by !**/node_modules/**
  • node_modules/acorn/CHANGELOG.md is excluded by !**/node_modules/**
  • node_modules/acorn/LICENSE is excluded by !**/node_modules/**
  • node_modules/acorn/README.md is excluded by !**/node_modules/**
  • node_modules/acorn/bin/acorn is excluded by !**/node_modules/**
  • node_modules/acorn/dist/acorn.d.mts is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/acorn/dist/acorn.d.ts is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/acorn/dist/acorn.js is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/acorn/dist/acorn.mjs is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/acorn/dist/bin.js is excluded by !**/dist/**, !**/node_modules/**
  • node_modules/acorn/package.json is excluded by !**/node_modules/**
  • node_modules/anymatch/LICENSE is excluded by !**/node_modules/**
  • node_modules/anymatch/README.md is excluded by !**/node_modules/**
  • node_modules/anymatch/index.d.ts is excluded by !**/node_modules/**
  • node_modules/anymatch/index.js is excluded by !**/node_modules/**
  • node_modules/anymatch/package.json is excluded by !**/node_modules/**
  • node_modules/arg/LICENSE.md is excluded by !**/node_modules/**
  • node_modules/arg/README.md is excluded by !**/node_modules/**
  • node_modules/arg/index.d.ts is excluded by !**/node_modules/**
  • node_modules/arg/index.js is excluded by !**/node_modules/**
  • node_modules/arg/package.json is excluded by !**/node_modules/**
  • node_modules/balanced-match/.github/FUNDING.yml is excluded by !**/node_modules/**
  • node_modules/balanced-match/LICENSE.md is excluded by !**/node_modules/**
  • node_modules/balanced-match/README.md is excluded by !**/node_modules/**
  • node_modules/balanced-match/index.js is excluded by !**/node_modules/**
  • node_modules/balanced-match/package.json is excluded by !**/node_modules/**
  • node_modules/binary-extensions/binary-extensions.json is excluded by !**/node_modules/**
  • node_modules/binary-extensions/binary-extensions.json.d.ts is excluded by !**/node_modules/**
  • node_modules/binary-extensions/index.d.ts is excluded by !**/node_modules/**
  • node_modules/binary-extensions/index.js is excluded by !**/node_modules/**
  • node_modules/binary-extensions/license is excluded by !**/node_modules/**
  • node_modules/binary-extensions/package.json is excluded by !**/node_modules/**
  • node_modules/binary-extensions/readme.md is excluded by !**/node_modules/**
  • node_modules/body-parser/HISTORY.md is excluded by !**/node_modules/**
  • node_modules/body-parser/LICENSE is excluded by !**/node_modules/**
  • node_modules/body-parser/README.md is excluded by !**/node_modules/**
  • node_modules/body-parser/index.js is excluded by !**/node_modules/**
  • node_modules/body-parser/lib/read.js is excluded by !**/node_modules/**
  • node_modules/body-parser/lib/types/json.js is excluded by !**/node_modules/**
  • node_modules/body-parser/lib/types/raw.js is excluded by !**/node_modules/**
📒 Files selected for processing (25)
  • .adonisrc.json (0 hunks)
  • .env (1 hunks)
  • .env.example (0 hunks)
  • .gitignore (0 hunks)
  • .gitignore copy (0 hunks)
  • .prettierignore (0 hunks)
  • Leiame.md (0 hunks)
  • README.md (1 hunks)
  • ace (0 hunks)
  • ace-manifest.json (0 hunks)
  • app/Controllers/VehiclesController.ts (0 hunks)
  • app/Exceptions/Handler.ts (0 hunks)
  • app/Types/Vehicle.ts (0 hunks)
  • commands/index.ts (0 hunks)
  • config/app.ts (0 hunks)
  • config/bodyparser.ts (0 hunks)
  • config/cors.ts (0 hunks)
  • config/drive.ts (0 hunks)
  • config/hash.ts (0 hunks)
  • contracts/drive.ts (0 hunks)
  • contracts/env.ts (0 hunks)
  • contracts/events.ts (0 hunks)
  • contracts/hash.ts (0 hunks)
  • contracts/tests.ts (0 hunks)
  • env.ts (0 hunks)
💤 Files with no reviewable changes (23)
  • .gitignore copy
  • .prettierignore
  • .env.example
  • app/Controllers/VehiclesController.ts
  • ace
  • .adonisrc.json
  • contracts/env.ts
  • config/drive.ts
  • config/cors.ts
  • contracts/drive.ts
  • ace-manifest.json
  • contracts/hash.ts
  • app/Types/Vehicle.ts
  • config/hash.ts
  • config/bodyparser.ts
  • env.ts
  • commands/index.ts
  • contracts/events.ts
  • .gitignore
  • contracts/tests.ts
  • Leiame.md
  • app/Exceptions/Handler.ts
  • config/app.ts
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
README.md

120-120: Bare URL used

(MD034, no-bare-urls)

🔇 Additional comments (2)
README.md (2)

1-3: Banner image path likely broken in rendered README

public/banner.png is relative to the repository root, but after the folder split the asset probably lives in corelab-web-challenge/public/. The current path renders a broken image on GitHub.

- <img src="public/banner.png" alt="Demonstração do projeto" width="100%" />
+ <img src="corelab-web-challenge/public/banner.png" alt="Demonstração do projeto" width="100%" />

Please verify the actual location.


19-21: Directory names clash with the new repo structure

The README still references corelab-api-challenge (backend) and corelab-web-challenge (frontend) folders, but the PR removes all AdonisJS backend code and no backend folder is added back. Either:

  1. Re-add the backend folder/content, or
  2. Update the README to reflect that this repository now contains only the frontend.

Keeping stale paths will confuse onboarders.

Comment thread .env
@@ -0,0 +1 @@
DATABASE_URL='postgresql://neondb_owner:npg_hH09WtXCdiBr@ep-odd-term-aco6bmqk-pooler.sa-east-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require' No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Remove hard-coded credentials from version control immediately

The full PostgreSQL connection string—with username, password, host and DB name—is being committed to the repository. This leaks production-level secrets and violates basic security hygiene.

Action items

- DATABASE_URL='postgresql://neondb_owner:npg_hH09WtXCdiBr@ep-odd-term-aco6bmqk-pooler.sa-east-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require'
+ # move the real secret into a non-tracked .env file (added to .gitignore)
+ DATABASE_URL='postgresql://<user>:<password>@<host>/<database>?sslmode=require'
  1. Rotate the exposed credentials on NeonDB now.
  2. Add .env (and similar) to .gitignore.
  3. Commit only a templated .env.example with placeholder values.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
DATABASE_URL='postgresql://neondb_owner:npg_hH09WtXCdiBr@ep-odd-term-aco6bmqk-pooler.sa-east-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require'
# move the real secret into a non-tracked .env file (added to .gitignore)
DATABASE_URL='postgresql://<user>:<password>@<host>/<database>?sslmode=require'
🤖 Prompt for AI Agents
In the .env file at line 1, the PostgreSQL connection string with sensitive
credentials is hard-coded and committed to version control, risking security
breaches. Immediately rotate the exposed NeonDB credentials to invalidate the
leaked ones. Add the .env file to .gitignore to prevent future commits of
sensitive environment variables. Replace the committed .env with a .env.example
file containing placeholder values for all secrets and configuration parameters.

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.

1 participant