{"id":17303047,"url":"https://github.com/binarybrain/database-project","last_synced_at":"2025-03-26T22:44:31.312Z","repository":{"id":14718048,"uuid":"17438595","full_name":"BinaryBrain/Database-Project","owner":"BinaryBrain","description":"Database Project for EPFL","archived":false,"fork":false,"pushed_at":"2014-06-18T23:46:50.000Z","size":13236,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-01T04:29:53.735Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/BinaryBrain.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}},"created_at":"2014-03-05T11:24:20.000Z","updated_at":"2019-05-22T20:26:08.000Z","dependencies_parsed_at":"2022-07-15T18:00:38.490Z","dependency_job_id":null,"html_url":"https://github.com/BinaryBrain/Database-Project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBrain%2FDatabase-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBrain%2FDatabase-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBrain%2FDatabase-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBrain%2FDatabase-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BinaryBrain","download_url":"https://codeload.github.com/BinaryBrain/Database-Project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245749854,"owners_count":20666084,"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":[],"created_at":"2024-10-15T11:49:22.616Z","updated_at":"2025-03-26T22:44:31.294Z","avatar_url":"https://github.com/BinaryBrain.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Database-Project\n================\n\nIntroduction\n------------\n\nThe goal of this EPFL project was to manage a quite big database via a graphical interface. We acheive that by doing a web server to link the database with the user web interface.\n\nAnother big challenge was to create a lot of complex SQL queries.\n\n![screenshot](screenshots/search.png?raw=true)\n\nIf you want more information about this project, please take a look at [the full report](report_group3.pdf).\n\n_Oh! By the way, we had 100/100 points. =D_\n\nHow to Run\n----------\n\n1) Make sure you're connected on the EPFL network\n\n2) Launch the Java server with the following commands:\n\nOn Windows:\n\n```\ncd server\nmkdir bin\njavac -cp \"bin;lib/ojdbc7.jar\" -d bin src/database/* src/webServer/*\njava -cp \"bin/;lib/ojdbc7.jar\" webServer.WebServer\n```\n\nOn Linux/MacOS:\n\n```\ncd server\nmkdir bin\njavac -cp bin:lib/ojdbc7.jar -d bin src/database/* src/webServer/*\njava -cp bin:lib/ojdbc7.jar webServer.WebServer\n\n```\n\n3) Go to [localhost:7123](http://localhost:7123/)\n\nGit Setup\n---------\n\nExtract [Music.zip](http://diaswww.epfl.ch/courses/db2014/project/Music.zip) in the main folder to have something like this `Database-Project/ProjectData/*.csv`. This folder is gitignored.\n\n\nServer Response (JSON)\n----------------------\n\n### Success\n\n```\n{\n\t\"status\": \"OK\",\n\t\"data\": [\n\t\t{ \"ID_ARTIST\": \"1\", \"NAME\": \"The xx\" },\n\t\t{ \"ID_ARTIST\": \"2\", \"NAME\": \"Camilla Sparksss\", \"AREA\": \"Switzerland\" }\n\t]\n}\n```\n\n### Error\n\n```\n{\n\t\"status\": \"Error\",\n\t\"error\": \"I'm a teapot.\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarybrain%2Fdatabase-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinarybrain%2Fdatabase-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarybrain%2Fdatabase-project/lists"}