{"id":19097583,"url":"https://github.com/projectsandprograms/webchatapp","last_synced_at":"2025-04-30T15:02:31.069Z","repository":{"id":211926052,"uuid":"715339713","full_name":"ProjectsAndPrograms/webChatApp","owner":"ProjectsAndPrograms","description":"A web based chat application created in java using Servlet, JSP, MySQL, CSS, JavaScript.","archived":false,"fork":false,"pushed_at":"2024-07-01T03:00:07.000Z","size":3069,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T04:41:27.934Z","etag":null,"topics":["chatapp","css","eclipse","html","java","javachatapp","js","jsp","jsp-servlet","mysql","servlet","tomcat-server","webchat","webchatapp"],"latest_commit_sha":null,"homepage":"","language":"Java","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/ProjectsAndPrograms.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}},"created_at":"2023-11-07T00:12:42.000Z","updated_at":"2025-04-10T12:41:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"39c20b92-b7f1-4350-aa57-8d1be69e8dbe","html_url":"https://github.com/ProjectsAndPrograms/webChatApp","commit_stats":null,"previous_names":["suraj2002fake/webchatapp","surajprojectsandprograms/webchatapp","projectsandprograms/webchatapp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProjectsAndPrograms%2FwebChatApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProjectsAndPrograms%2FwebChatApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProjectsAndPrograms%2FwebChatApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProjectsAndPrograms%2FwebChatApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProjectsAndPrograms","download_url":"https://codeload.github.com/ProjectsAndPrograms/webChatApp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251725738,"owners_count":21633643,"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":["chatapp","css","eclipse","html","java","javachatapp","js","jsp","jsp-servlet","mysql","servlet","tomcat-server","webchat","webchatapp"],"created_at":"2024-11-09T03:41:54.144Z","updated_at":"2025-04-30T15:02:31.047Z","avatar_url":"https://github.com/ProjectsAndPrograms.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebChatApplication\n\nA web based chat application created in java using Servlet, JSP, MySQL, CSS, JavaScript. It need atleast Apache Tomcat 10 web server to run.\u003cbr\u003e\nYou can chat with your friends if you deploy this. Otherwise you can use a remote database, once you add tables on database you can simply distibute this application with your friends by using war files. \n\n## Technologies Used \n  1. Servlet \n  2. JSP\n  3. HTML, CSS, JavaScript\n  4. MySQL\n  5. Apache Tomcat-10 web server\n  6. Created in Eclipse Enterprise Edition IDE\n\n## Screenshots\n\n\u003cdiv style=\"display: flex;flex-direction: column; grid-gap: 10px;\"\u003e\n    \u003cdiv style=\"display: flex; grid-gap: 10px;\"\u003e\n        \u003cimg src=\"src/main/webapp/images/ch1.png\" alt=\"screenshots\" width=\"49%\" style=\"border: 2px solid lightgreen\"/\u003e\n        \u003cimg src=\"src/main/webapp/images/ch2.png\" alt=\"screenshots\" width=\"49%\" style=\"border: 2px solid lightgreen\"/\u003e\n    \u003c/div\u003e\n    \u003cdiv style=\"display: flex; grid-gap: 10px;\"\u003e\n        \u003cimg src=\"src/main/webapp/images/ch3.png\" alt=\"screenshots\" width=\"49%\" style=\"border: 2px solid lightgreen\"/\u003e\n        \u003cimg src=\"src/main/webapp/images/ch4.png\" alt=\"screenshots\" width=\"49%\" style=\"border: 2px solid lightgreen\"/\u003e\n    \u003c/div\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\n## How to Use ?\n  To run this application you need to set up this project on your \u003cb\u003eEclipse EE IDE\u003c/b\u003e here is how to do that : \n\n  \u003cb\u003eStep-1 :\u003c/b\u003e After downloading, you have to keep this project on your workspace. Check your workspace from Eclipse also your can change your workspace by \u003cbr\u003e\n   \u003cb\u003efile-\u003eSwitchWorkspace-\u003eOther\u003c/b\u003e\n   and choose your workspace.\n\n  \u003cb\u003eStop-2 :\u003c/b\u003e Download web development tools in your Eclipse IDE.\u003cbr\u003e\n   Go to  Help-\u003eEclipse Marketplace-\u003eon search tab you can search for tools search 'web' on search area and download the tool \u003cbr\u003e\n          suggested one is :\u003ci\u003e Eclipse Enterprise Java and web developer tools 3.31\u003c/i\u003e\u003cbr\u003e\n          Or you can download anyone who supports servlet, jsp, and others mentioned above.\n\n \u003cb\u003eStep-3 :\u003c/b\u003e Download Apache tomcat server make sure you use tomcat 10 and above. You can download this form official website [tomcat.apache.org](https://tomcat.apache.org/download-10.cgi), also Unzip it.\n\n\u003cb\u003eStep-4 :\u003c/b\u003e Setup Tocat with Eclipse : you can setup tomcat go to Windows-\u003eShow Views-\u003eServers\u003cbr\u003e\nA new tab will open where console located, with the name of server click on the given link to add new server -\u003e choose your company and version of server you intalled, in my case this is \u003cb\u003eApache-\u003eTomcat 10 -\u003eclick on next-\u003e locate the Apache tomcat directory you downloaded in previous step.-\u003e Hit on next if available otherwise click on finish.\u003c/b\u003e\n\n\u003cb\u003eStep-5 :\u003c/b\u003e Open Your project in eclipse : \n     go to file-\u003eOpen Project from file system-\u003e locate your workspace and select the project(WebChatApp) folder -\u003e click on open -\u003e finish\n\n\u003cb\u003eStep-6 :\u003c/b\u003e Database Setup : to setup your database you can use the file database/chat.sql.\n  using phpmyadmin = if you are using php myadmin then simpley create a new database with the name of 'chat' and then you can import file database/chat.sql from your import tab.\n  \n  using mysql command line client OR workbench - \n  you can simple run the given queries to create your database setup: \n    \n  creating a database :\n    \n```sql\nCREATE DATABASE chat;\n```\n\n  using the database :\n\n```sql\nUSE chat;\n```\n\n  creating a table for messages :\n\n```sql\nCREATE TABLE `messages` (\n  `msg_id` int(20) NOT NULL AUTO_INCREMENT,\n  `incoming_msg_id` varchar(255) NOT NULL,\n  `outgoing_msg_id` varchar(255) NOT NULL,\n  `msg` varchar(1000) NOT NULL,\n PRIMARY KEY (`msg_id`)) AUTO_INCREMENT = 100;\n``` \n\n  creating a table for users :\n\n```sql\nCREATE TABLE `users` (\n  `user_id` int(11) NOT NULL AUTO_INCREMENT,\n  `unique_id` varchar(200) NOT NULL,\n  `fname` varchar(255) NOT NULL,\n  `lname` varchar(255) NOT NULL,\n  `email` varchar(255) NOT NULL,\n  `password` varchar(255) NOT NULL,\n  `img` varchar(400) NOT NULL,\n  `status` varchar(255) NOT NULL,\n PRIMARY KEY (`msg_id`)) AUTO_INCREMENT = 100;\n```\n    \n \u003cb\u003eStep-7 :\u003c/b\u003e Now you are ready to run the application: Right click on project(WebChatApp)-\u003eRun As-\u003eRun on Server-\u003eit may ask you what applications you want to run choose  WebChatApp and finish\n \n\u003cb\u003eStep-8 :\u003c/b\u003e After Starting the server you can access the application by your browser: open your browser and search for [http://localhost:8080/ChatApp/](/)\n\n\u003cb\u003eStep-9 :\u003c/b\u003e I hope this will helpful for you.\n\n\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first\nto discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojectsandprograms%2Fwebchatapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprojectsandprograms%2Fwebchatapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojectsandprograms%2Fwebchatapp/lists"}