{"id":27247287,"url":"https://github.com/matrix278/wallestertestapp","last_synced_at":"2026-04-18T17:02:37.668Z","repository":{"id":102681852,"uuid":"274916759","full_name":"Matrix278/wallesterTestApp","owner":"Matrix278","description":"Wallester test - web application having CRUD operations under customer object","archived":false,"fork":false,"pushed_at":"2021-01-31T13:44:09.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T22:49:25.018Z","etag":null,"topics":["bootstrap4","crud","database","database-schema","golang","html-css-javascript","middleware","postgresql","rest","router"],"latest_commit_sha":null,"homepage":"wallester-test-app.vercel.app","language":"Go","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/Matrix278.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":"2020-06-25T12:58:36.000Z","updated_at":"2022-06-08T07:01:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"33cf271b-5dd4-4901-9fc7-39b30fc979e0","html_url":"https://github.com/Matrix278/wallesterTestApp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Matrix278/wallesterTestApp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matrix278%2FwallesterTestApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matrix278%2FwallesterTestApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matrix278%2FwallesterTestApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matrix278%2FwallesterTestApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Matrix278","download_url":"https://codeload.github.com/Matrix278/wallesterTestApp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matrix278%2FwallesterTestApp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31976805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T16:27:12.723Z","status":"ssl_error","status_checked_at":"2026-04-18T16:27:11.140Z","response_time":103,"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":["bootstrap4","crud","database","database-schema","golang","html-css-javascript","middleware","postgresql","rest","router"],"created_at":"2025-04-10T22:49:23.487Z","updated_at":"2026-04-18T17:02:37.663Z","avatar_url":"https://github.com/Matrix278.png","language":"Go","readme":"# Wallester test\nWeb application having CRUD operations under customer object\n\n### Technologies:\n\n- Go language\n- PostgreSQL DB\n- HTML\n- CSS\n- JS\n- Bootstrap 4\n\n### Libraries:\n\n- github.com/gorilla/mux\n- github.com/lib/pq\n\n### PSQL DataBase data:\n\n- host: localhost\n- port: 5432\n- user: martin\n- password: qweasdzxc\n- DB name: application\n\n### Table data:\n\n```\nCREATE TABLE customers (\n    id SERIAL PRIMARY KEY,\n    first_name VARCHAR(100) NOT NULL,\n    last_name VARCHAR(100) NOT NULL,\n    birth_date TIMESTAMP NOT NULL,\n    gender VARCHAR(10) NOT NULL,\n    email VARCHAR(100) UNIQUE NOT NULL,\n    address VARCHAR(200)\n);\nINSERT INTO customers(\n        first_name,\n        last_name,\n        birth_date,\n        gender,\n        email,\n        address\n    )\nVALUES (\n        'Test',\n        'Tester',\n        '2016-06-22 19:10:25',\n        'Male',\n        'test@tester.com',\n        'Test City address'\n    );\n```\n\n1. (MODELS folder) The **models** package will store the database schema. Using **struct** type to represent or map the database schema in golang.\n\n2. (MIDDLEWARE folder) The **middleware** package is the bridge between APIs and Database. This package will handle all the db operations like Insert, Select, Update, and Delete (CRUD).\n\n3. (ROUTER folder) In the **router** package defines all the api endpoints.\n\n4. (MAIN file) The **main.go** is server. It will start a server on **8080** port and serve all the **Router**.\n\n### Routes:\n\n1. localhost:8080/customers, GET ALL CUSTOMERS ( GET )\n2. localhost:8080/customer/{id}, GET CUSTOMER ( GET )\n3. localhost:8080/customer/create, CREATE CUSTOMER ( POST )\n4. localhost:8080/customer/{id}/update, UPDATE CUSTOMER BY ID ( PUT )\n5. localhost:8080/customer/{id}/delete, DELETE CUSTOMER BY ID ( DELETE )\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix278%2Fwallestertestapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrix278%2Fwallestertestapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix278%2Fwallestertestapp/lists"}