{"id":16739444,"url":"https://github.com/williamfalcon/thestartupjavaserver","last_synced_at":"2025-03-15T22:43:57.012Z","repository":{"id":12766975,"uuid":"15440358","full_name":"williamFalcon/TheStartupJavaServer","owner":"williamFalcon","description":"Simple Multithreaded Java server linked to MYSQL","archived":false,"fork":false,"pushed_at":"2014-07-08T22:14:14.000Z","size":6936,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-22T11:47:41.971Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/williamFalcon.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}},"created_at":"2013-12-25T20:43:32.000Z","updated_at":"2014-07-08T22:14:14.000Z","dependencies_parsed_at":"2022-09-17T00:11:57.609Z","dependency_job_id":null,"html_url":"https://github.com/williamFalcon/TheStartupJavaServer","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/williamFalcon%2FTheStartupJavaServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamFalcon%2FTheStartupJavaServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamFalcon%2FTheStartupJavaServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamFalcon%2FTheStartupJavaServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/williamFalcon","download_url":"https://codeload.github.com/williamFalcon/TheStartupJavaServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243801611,"owners_count":20350106,"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-13T00:51:10.836Z","updated_at":"2025-03-15T22:43:56.995Z","avatar_url":"https://github.com/williamFalcon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"THE STARTUP JAVA SERVER\n=================================\n\nSimple Java TCP/HTTP server wired for MYSQL and JSON replies\n\nAllows you to have a live server wired up for MYSQL, JSON, GET, POST \nin under 2 minutes.\n\n\nFEATURES\n=================================\n\nThis server is wired for you to:\n\n1. Connect To MYSQL using JDBC\n2. Query MYSQL\n3. Manages most object conversions from MSYQL to java objects\n4. Listen for GET/POST requests of port 1234\n5. Send back a JSON response\n\n\nQUICK START\n=================================\nTo use WITH MYSQL:\n\n1. Create a MYSQL DB called Sample\n2. Create a table called user\n3. In user table add three fields: first, last, social\n   - Social should be int\n   - First, last should be varchar\n\n4. Import project into your favorite IDE\n5. Start server\n6. Open browser\n7. Type in http://localhost:1234/welcome\n\n=================================\nTo use WITHOUT MYSQL\n\n1. Import project into your favorite IDE\n2. Start server\n3. Open browser\n4. Type in http://localhost:1234/welcome\n\n=================================\nFor even faster use:\n\n1. Open terminal and type:\n2. java -jar TheStartupJavaServer.jar\n\n\nBUILT IN DEPENDENCIES\n=================================\n1. GSON\n2. Jetty\n3. JDBC\n\n\nABOUT\n=================================\nMy team and I use this server for various mobile apps and web apps. It is very robust\nand has served us well. We figured we could share it with the world because it took a long\ntime to get right.\n\nWe hope it helps everyone get their projects of the ground quickly by showing you how to\nuse the JDBC driver to connect to MYSQL, and Jetty to actually handle the HTTP requests.\nWe will add HTTPS support as soon as we can abstract our proprietary information from it\nand make it available for everyone.\n\nServer was built and contributed by William Falcon, Sam Frank, Michael Ben-Ami. All of us are studying Computer Science at Columbia University in New York.\n\nEnjoy!!\n\n=================================\nREAL USE\n=================================\nTo see this server in action checkout these projects:\nMeal Idea iPhone App - http://itunes.com/apps/mealidea\n\n(If you use the server in a live product send me the name and link and we'll add your name here william@mealidea.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamfalcon%2Fthestartupjavaserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliamfalcon%2Fthestartupjavaserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamfalcon%2Fthestartupjavaserver/lists"}