{"id":13512911,"url":"https://github.com/yusufcakal/e-commerce","last_synced_at":"2025-03-31T00:30:46.238Z","repository":{"id":193675219,"uuid":"123011505","full_name":"yusufcakal/e-commerce","owner":"yusufcakal","description":"dolap.com interview project :credit_card:","archived":false,"fork":false,"pushed_at":"2018-03-26T21:55:15.000Z","size":934,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-01T15:37:34.124Z","etag":null,"topics":["angular","hibernate","java","junit","postgresql","spring-boot","visio"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yusufcakal.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}},"created_at":"2018-02-26T18:29:29.000Z","updated_at":"2022-01-14T16:58:25.000Z","dependencies_parsed_at":"2023-09-09T11:56:14.031Z","dependency_job_id":null,"html_url":"https://github.com/yusufcakal/e-commerce","commit_stats":null,"previous_names":["yusufcakal/e-commerce"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufcakal%2Fe-commerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufcakal%2Fe-commerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufcakal%2Fe-commerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufcakal%2Fe-commerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yusufcakal","download_url":"https://codeload.github.com/yusufcakal/e-commerce/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246399816,"owners_count":20770907,"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":["angular","hibernate","java","junit","postgresql","spring-boot","visio"],"created_at":"2024-08-01T04:00:34.068Z","updated_at":"2025-03-31T00:30:45.161Z","avatar_url":"https://github.com/yusufcakal.png","language":"Java","funding_links":[],"categories":["Web development"],"sub_categories":["Spring"],"readme":"![basliksiz-1](https://user-images.githubusercontent.com/16848490/37253080-c341dd9e-253d-11e8-8244-89c35f541604.png)\n\n\n\u003ch1 align=\"center\"\u003e Basic E-Commerce Service \u003c/h1\u003e \u003cbr\u003e\n\u003cp align=\"center\"\u003e\nIt's open source project providers fundamental product and user management. \n\n---\n\u003c/p\u003e\n\n\n## Table of Contents\n\n- [Database Tables](https://github.com/yusufcakal/e-commerce#database-tables)\n- [Services](https://github.com/yusufcakal/e-commerce#services)\n- [Frontend](https://github.com/yusufcakal/e-commerce-front)\n- [License](https://github.com/yusufcakal/e-commerce#license)\n- [Acknowledgment](https://github.com/yusufcakal/e-commerce#thanks)\n\n### Database Tables\n\n![ekran alintisi](https://user-images.githubusercontent.com/16848490/37373287-030cc5fc-2727-11e8-8282-2d0267350dd3.PNG)\n\n### Services\n\n- [User](https://github.com/yusufcakal/e-commerce#user)\n  + [register](https://github.com/yusufcakal/e-commerce#register)\n  + [login](https://github.com/yusufcakal/e-commerce#login)\n  + [verify](https://github.com/yusufcakal/e-commerce#verify)\n- [Product](https://github.com/yusufcakal/e-commerce#product)\n  + [add](https://github.com/yusufcakal/e-commerce#add)\n  + [edit](https://github.com/yusufcakal/e-commerce#edit)\n  + [delete](https://github.com/yusufcakal/e-commerce#delete)\n  + [get](https://github.com/yusufcakal/e-commerce#get)\n- [Category](https://github.com/yusufcakal/e-commerce#category)\n  + [get](https://github.com/yusufcakal/e-commerce#category)\n  + [add](https://github.com/yusufcakal/e-commerce#category)\n  + [delete](https://github.com/yusufcakal/e-commerce#category)\n\n\n#### User\n - ##### Register\n     ```\n    url: ../user/register | POST \n    ```\n   - ###### request\n   ```json\n    {\n        \"name\": \"John Doe\",\n        \"email\": \"info@johndoe.com\",\n        \"password\": \"123456\"\n    }\n    ```\n    - ###### response\n    ```\n    if there is no user 201 (Http Created) other case already user 409 (Http Conflict)\n    ```\n    \n - ##### Login\n     ```\n    url: ../user/login | POST \n    ```\n   - ###### request\n   ```json\n    {\n        \"email\": \"info@johndoe.com\",\n        \"password\": \"123456\"\n    }\n    ```\n    - ###### response\n    ```\n    200 (Http Ok), if token value -1 is user unauthorized.\n    ```\n - ##### Verify\n     ```\n    url: ../user/verify/{token} | GET \n    ```\n   - ###### request\n   ```\n   User verify with email.\n    ```\n    - ###### response\n    ```\n    200 (Http Ok) will other requests sending user token.\n    ```\n\n#### Product\n - ##### Add\n     ```\n    url: ../products/add | POST \n    ```\n   - ###### request\n   ```json\n    {\n      \"name\": \"New Product\",\n      \"price\": 60.00,\n      \"stock\": 30,\n      \"category\": {\n        \"id\": 1,\n        \"name\": \"Man\"\n      }\n    }\n    MultipartFile[] product images.\n    ```\n    - ###### response\n    ```\n    200 (Http Ok) and productlist\n    ```\n    \n - ##### Edit\n     ```\n    url: ../products/{productId} | PUT \n    ```\n    - ###### request\n    ```\n    Product Object\n    ```\n    - ###### response\n    ```\n    200 (Http Ok) and productlist\n    ```\n - ##### Delete\n     ```\n    url: ../products/{productId} | DELETE \n    ```\n   - ###### request\n   ```\n   Product id send on url path variable.\n    ```\n    - ###### response\n    ```\n    200 (Http Ok) is product edited.\n    ```\n - ##### Get\n     ```\n    url: ../products/{productId} | GET\n    ```\n    - ###### request\n    ```\n    Get request also if there is no productId all products. ../category/{category_id} products of category.\n    ```\n    - ###### response\n    ```\n    200 (Http Ok) product, category and productlist\n    ```\n - ##### Images\n     ```\n    url: ../products//images/{productId} | GET \n    ```\n   - ###### request\n   ```\n   Product id send on url path variable.\n    ```\n    - ###### response\n    ```\n    200 (Http Ok) is images of product.\n    ```\n\n#### Category\n - ##### get\n     ```\n    url: ../categories/ | GET \n    ```\n   - ###### request\n    native get request. /categories/{categoryId} -\u003e related category response.\n    - ###### response\n    ```\n    200 (Http Ok) and category list.\n    ```\n    \n - ##### Add\n     ```\n    url: ../categories/add | POST \n    ```\n   - ###### request\n   ```json\n    {\n      \"name\": \"Category\"\n    }\n    ```\n    - ###### response\n    ```\n    200 (Http Ok) and category list.\n    ```\n - ##### Delete\n     ```\n    url: ../categories/delete/{categoryId} | DELETE \n    ```\n   - ###### request\n   ```\n   delete request with path variable is categoryId\n    ```\n    - ###### response\n    ```\n    200 (Http Ok)\n    ```\n\n### License\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n\n### Acknowledgment\n\n* [Spring](https://spring.io/)\n* [Postgresql](https://www.postgresql.org/)\n* [Microsoft Visio - UML Diagrams](https://products.office.com/en/visio/flowchart-software?tab=tabs-1)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusufcakal%2Fe-commerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyusufcakal%2Fe-commerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusufcakal%2Fe-commerce/lists"}