{"id":29354253,"url":"https://github.com/labs-jstack/023-forget-orm-lets-talk-about-sql","last_synced_at":"2026-04-04T22:32:19.481Z","repository":{"id":303500726,"uuid":"1012829024","full_name":"labs-jstack/023-forget-orm-lets-talk-about-sql","owner":"labs-jstack","description":"This repository is a hands-on guide to understanding databases and working with SQL using PostgreSQL in a Dockerized environment. It covers foundational concepts and practical examples to get you started with relational databases.","archived":false,"fork":false,"pushed_at":"2025-07-08T01:08:09.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-08T01:51:33.882Z","etag":null,"topics":["crud","database","docker","docker-compose","postgresql","sql"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/labs-jstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-03T00:29:35.000Z","updated_at":"2025-07-08T01:08:12.000Z","dependencies_parsed_at":"2025-07-08T02:05:50.337Z","dependency_job_id":null,"html_url":"https://github.com/labs-jstack/023-forget-orm-lets-talk-about-sql","commit_stats":null,"previous_names":["labs-jstack/023-forget-orm-lets-talk-about-sql"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/labs-jstack/023-forget-orm-lets-talk-about-sql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labs-jstack%2F023-forget-orm-lets-talk-about-sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labs-jstack%2F023-forget-orm-lets-talk-about-sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labs-jstack%2F023-forget-orm-lets-talk-about-sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labs-jstack%2F023-forget-orm-lets-talk-about-sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/labs-jstack","download_url":"https://codeload.github.com/labs-jstack/023-forget-orm-lets-talk-about-sql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labs-jstack%2F023-forget-orm-lets-talk-about-sql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31416770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crud","database","docker","docker-compose","postgresql","sql"],"created_at":"2025-07-09T03:11:58.103Z","updated_at":"2026-04-04T22:32:19.459Z","avatar_url":"https://github.com/labs-jstack.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛢️ Forget the ORMs, Let's Talk About SQL\n\n 🧩 This project was developed as part of the **Forget the ORMs, Let's Talk About SQL** live from the [JStack](https://jstack.com.br/) course. The goal is to learn **SQL in practice, without relying on *ORMs* or *query builders***, by exploring the *SQL language* directly and running **PostgreSQL inside a Docker container using Docker Compose**.\n Throughout this project, we cover the fundamentals of databases, *SQL* commands, and containerization with Docker to set up an isolated environment for experimentation.\n \n## 🎯 Objectives\n\n - Learn and practice the core **concepts of databases**\n - Understand and use **SQL commands** for creating and manipulating data\n - Set up **PostgreSQL in a Docker Compose container**\n - Sync local directories with containers for easier development\n - Perform CRUD operations *(Create, Read, Update, Delete)* directly in SQL\n - Explore filtering, ordering, and pagination with `WHERE`, `ORDER BY`, `LIMIT`, and `OFFSET`\n\n## 📘 Explanation in Brazilian Portuguese (pt-BR)\n\nThe image below summarizes the keys concepts covered in the lesson about databases. All the content is explained in Brazilian Portuguese (pt-BR), making it easier to understand for native speakers.\n![Explication](./public/assets/images/database.png)\n\n## 📄 Technologies Used\n\n - **PostgreSQL**\n - **SQL**\n - **Docker**\n - **Docker Compose**\n\n## ⚙️ Getting Started\n\n### Prerequisites\nMake sure you have the following installed:\n - **Node.js** (v18 or above)\n - **npm**, **Yarn** or **pnpm**\n - **Docker**\n\n### Installation\nClone the repository:\n```\ngit clone https://github.com/labs-jstack/023-forget-orm-lets-talk-about-sql.git\ncd 023-forget-orm-lets-talk-about-sql\n```\n\nStart the containers (e.g., PostgreSQL) with Docker:\n```\ndocker-compose up -d\n```\n\nAccess the PostgreSQL container:\n```\ndocker exec -it jstack-lives-sql bash\npsql -U root\n```\n\nNow you can execute SQL commands directly in your PostgreSQL instance!\n\n```\ncd scripts\npsql -f \u003cfile-name\u003e\n```\n\n## Contributing\n🤝 Feel free to open issues, suggest improvements or submit pull requests to help improve the project!\n\n## License\n\n📝 This project is licensed under the [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE).\n\n## Contact\n✉️ Developed by João Henrique Fernandes.\n\n[![Linkedin](https://skillicons.dev/icons?i=linkedin)](https://www.linkedin.com/in/joaohenriquefernandes/)\n[![Github](https://skillicons.dev/icons?i=github)](https://github.com/joaohenriquefernandes)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabs-jstack%2F023-forget-orm-lets-talk-about-sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flabs-jstack%2F023-forget-orm-lets-talk-about-sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabs-jstack%2F023-forget-orm-lets-talk-about-sql/lists"}