{"id":15151532,"url":"https://github.com/eltonsantos/dev-nama-test","last_synced_at":"2026-02-15T10:03:20.054Z","repository":{"id":145397878,"uuid":"386825491","full_name":"eltonsantos/dev-nama-test","owner":"eltonsantos","description":"Dev Challenge - Nama","archived":false,"fork":false,"pushed_at":"2021-07-18T20:08:20.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T09:44:13.562Z","etag":null,"topics":["rails5","ruby","ruby-on-rails","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/eltonsantos.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}},"created_at":"2021-07-17T03:27:11.000Z","updated_at":"2021-07-18T20:08:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8c2623a-4af5-47ac-a5f3-ef0eb65bf3cb","html_url":"https://github.com/eltonsantos/dev-nama-test","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"c59ee32b9515b51b0c6e20dda25d00b26bde8725"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eltonsantos/dev-nama-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltonsantos%2Fdev-nama-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltonsantos%2Fdev-nama-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltonsantos%2Fdev-nama-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltonsantos%2Fdev-nama-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eltonsantos","download_url":"https://codeload.github.com/eltonsantos/dev-nama-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltonsantos%2Fdev-nama-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274564960,"owners_count":25308679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["rails5","ruby","ruby-on-rails","tailwindcss"],"created_at":"2024-09-26T15:04:14.128Z","updated_at":"2026-02-15T10:03:15.018Z","avatar_url":"https://github.com/eltonsantos.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  Dev Nama Test\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#-technologies\"\u003eTechnologies\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-getting-started\"\u003eGetting started\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-project\"\u003eProject\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-layout\"\u003eLayout\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-next-steps\"\u003eNext steps\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\n  \u003cimg alt=\"Nama Test\" title=\"Nama Test\" src=\".github/orders.png\" /\u003e\n\u003c/h1\u003e\n\n---\n\n## 🧪 Technologies\n\nThis project was developed using the following technologies:\n\n- [Ruby](https://www.ruby-lang.org/)\n- [Rails](https://rubyonrails.org/)\n- [Interactor](https://github.com/collectiveidea/interactor)\n- [DropzoneJS](https://github.com/ncuesta/dropzonejs-rails)\n- [Toastr](https://github.com/tylergannon/toastr-rails)\n- [Tailwind](https://tailwindcss.com/)\n\n## 🚀 Getting started\n\nThis project use **ruby 2.7.0** and **rails 5.2.6**. I recommend installing [RVM](https://rvm.io/) on your machine to change ruby and rails versions more easily and make better use of this project.\n\nClone the project and access the folder\n\n```bash\n$ git clone https://github.com/eltonsantos/dev-nama-test.git \u0026\u0026 cd dev-nama-test\n```\n\nFollow the steps below\n```bash\n# Install the dependencies\n$ bundle install\n\n# Create database\n$ rails db:create\n\n# Create migrations\n$ rails db:migrate\n\n# Start server\n$ rails s\n\n```\n\nOr just for knowledge, to create the basic structure of the project, the following commands bellow were used\n\n```bash\n# Create project\n$ rails new dev-9nama-test\n\n# Create model Customer\n$ rails g model Customer name:index\n\n# Create model Supplier\n$ rails g model Supplier name:index address:index\n\n# Create model Product\n$ rails g model Product description:index price:decimal{8-2}:index\n\n# Create scaffold Orders\n$ rails g scaffold Orders\n\n# Create model Item\n$ rails g model Item order:references product:references supplier:references customer:references quantity:integer\n\n# Create database\n$ rails db:create\n\n# Create migrations\n$ rails db:migrate\n\n# Start server\n$ rails s\n\n```\n\n## 💻 Project\n\nThis project was developed for testing in the company Nama, in the July 17, 2021. The project consists of receiving a csv or txt file, processing the file and adding it to the sqlite database. Also, be able to show order details as well as the order total.\n\n\n## 🔖 Layout\n\nThe layout was created from scratch using the **TailWindCSS** framework.\n\n## 🐾 Next steps\n\n###### Escreverei essa parte em português\n\n- [ ] Implementar layout infinito para mostrar todos pedidos na mesma tela ♾\n- [ ] Implementar o dark mode para os olhos agradecerem 😎\n- [ ] Implementar o skeleton loader para quando tiver muitos pedidos 🔼\n- [ ] Ajustar alguns detalhes para o Layout ficar bem responsivo e fofo 🥰\n- [ ] Login e senha para poder acessar os pedidos 🔐\n- [ ] Adicionar testes para não ficar desesperado quando o projeto crescer 🔎\n- [ ] E muito mais... ❤💪🏼\n\n---\n\n## 👨🏻‍💻 Author\n\n\u003ch3 align=\"center\"\u003e\n  \u003cimg style=\"border-radius: 50%\" src=\"https://avatars3.githubusercontent.com/u/1292594?s=460\u0026u=0b1bfb0fc81256c59dc33f31ce344231bd5a5286\u0026v=4\" width=\"100px;\" alt=\"\"/\u003e\n  \u003cbr/\u003e\n  \u003cstrong\u003eElton Santos\u003c/strong\u003e 🚀\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n\n \u003ca href=\"https://www.linkedin.com/in/eltonmelosantos\" alt=\"LinkedIn\" target=\"blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-LinkedIn-blue?style=flat-square\u0026logo=Linkedin\u0026logoColor=white\" /\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"mailto:elton.melo.santos@gmail.com?subject=Olá%20Elton\" alt=\"Email\" target=\"blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-Gmail-c14438?style=flat-square\u0026logo=Gmail\u0026logoColor=white\u0026link=mailto:elton.melo.santos@gmail.com\" /\u003e\n  \u003c/a\u003e\n\n\u003cbr/\u003e\n\nMade with ❤️ by Elton Santos 👋🏽 [Entre em contato!](https://www.linkedin.com/in/eltonmelosantos/)\n\n\u003c/h3\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feltonsantos%2Fdev-nama-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feltonsantos%2Fdev-nama-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feltonsantos%2Fdev-nama-test/lists"}