{"id":22935089,"url":"https://github.com/sofidevo/alura-geek","last_synced_at":"2025-08-12T18:31:19.560Z","repository":{"id":183170890,"uuid":"669621731","full_name":"SofiDevO/alura-geek","owner":"SofiDevO","description":"Online store. Project for the Oracle and alura latam challenge, \"Front end\"","archived":false,"fork":false,"pushed_at":"2023-12-24T06:21:27.000Z","size":4001,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"sofidev","last_synced_at":"2023-12-25T04:21:05.853Z","etag":null,"topics":["alurageek","crud-application","javascript"],"latest_commit_sha":null,"homepage":"https://alura-geek-ruddy.vercel.app/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SofiDevO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-07-22T22:07:32.000Z","updated_at":"2023-12-24T06:22:04.000Z","dependencies_parsed_at":"2023-12-24T04:20:31.174Z","dependency_job_id":"3ceceac0-53d0-4d3e-a459-23a52694405f","html_url":"https://github.com/SofiDevO/alura-geek","commit_stats":null,"previous_names":["sofidevo/alura-geek"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SofiDevO%2Falura-geek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SofiDevO%2Falura-geek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SofiDevO%2Falura-geek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SofiDevO%2Falura-geek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SofiDevO","download_url":"https://codeload.github.com/SofiDevO/alura-geek/tar.gz/refs/heads/sofidev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229699851,"owners_count":18109852,"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","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":["alurageek","crud-application","javascript"],"created_at":"2024-12-14T11:46:23.460Z","updated_at":"2024-12-14T11:46:24.082Z","avatar_url":"https://github.com/SofiDevO.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# AluraGeek Frontend Challenge Project\n\nThis is my project for the Frontend challenge proposed by Oracle Next Education and Alura LATAM.\n\n## Challenge Description\n\nThe challenge involves creating an online store based on the [FIGMA file](https://www.figma.com/file/AB8pEp5K7lo7xUYjQwdfYA/AluraGeek-(Copy)?type=design\u0026node-id=0%3A1\u0026mode=design\u0026t=PGhF0WdsaFdfVfJV-1) provided. While we are expected to follow the design in the FIGMA file, we also have the freedom to customize it to our liking.\n\nOne of the key requirements is to implement CRUD (Create, Read, Update, Delete) operations using HTTP requests. This means we should be able to manage and manipulate products within our store, including reading, creating, deleting, and editing them.\n\n\n\n\n## Technologies Used\n\nThe project is built using JavaScript and utilizes JSON Server to simulate the API for product management.\n\n\n## Getting Started\n\nFeel free to clone or modify this project for your own purposes. To get started:\n\n### 1. Clone this repository to your local machine.\n\n   ```bash\n   git clone https://github.com/SofiDevO/alura-geek.git\n   ```\n\n### 2. Explore the project and make customizations as needed for your own projects.\n\n## Important 🦉\n\nIf you want to interact with the API you will need to switch de URL from vercel, to a FAKE API with json-server. \n\nfirst you need to install json server:\n\n```bash\nnpm install -g json-server\n```\n\n### 3 - Use the db.json File\nYou need to use the ```db.json``` ALREADY created, that will act as the data source.  \n\n### 4 - Start the Server\n\n### Start up the JSON \n\nServer by typing this command into your terminal: ```json-server --watch db.json.``` This will run on \"https://localhost:3000\" by default. You can change the port it's running on by specifying a different port number when starting the server using the --port flag.\n\n### JSON Server will automatically generate RESTful endpoints based on the data you defined in your JSON file.\n\nIf you have a JSON file with an array of \"users\", this is the endpoint that will be automatically generated by the JSON Server:\n\n- GET  /users - This retrieves a list of all resource entities of users.\n\n- GET /users/:id - This retrieves a specific user by its id.\n\n- POST /users - This creates a new user.\n\n- PUT /users/:id - This updates a user based on a specified id.\n\n- DELETE /users/:id - This deletes a user based on the specified id.\n\nThis pattern makes it easy to interact with the mock API in a RESTful manner just like one would do with a real backend API.\n\n4 - Replace the VERCEL fake API, for this new resourse that you create with the ```json-server --watch db.json.``` command. It should look like this:\n\n![image](https://github.com/SofiDevO/alura-geek/assets/102200061/66f4c756-2b71-4ca2-840d-95ddc800aab6)\n\nNow you are able to make petitions to htttp. \n\n\n\n## Contributing\n\nIf you'd like to contribute to this project or report issues, please feel free to submit a pull request or open an issue on this repository. We welcome contributions and feedback from the community.\n\n## Acknowledgments\n\nDon't forget to give this repository a star ⭐ if you find it useful!\n\n\n![Alt text](image.png)\n![Alt text](image-1.png)\n![Alt text](image-2.png)\n![Alt text](image-3.png)\n![Alt text](image-4.png)\n![Alt text](image-5.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsofidevo%2Falura-geek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsofidevo%2Falura-geek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsofidevo%2Falura-geek/lists"}