{"id":15093249,"url":"https://github.com/saadhaidergit/characterroleplaywebsite","last_synced_at":"2026-02-11T08:11:11.664Z","repository":{"id":233021634,"uuid":"785806187","full_name":"SaadHaiderGit/CharacterRoleplayWebsite","owner":"SaadHaiderGit","description":"A website built on Spring Boot server and Angular, where users access a list of characters for roleplaying games, and can add/update/delete characters as they wish. ","archived":false,"fork":false,"pushed_at":"2024-05-06T16:23:33.000Z","size":377,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T01:10:30.532Z","etag":null,"topics":["angular-cli","roleplay","spring-boot","website"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/SaadHaiderGit.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":"2024-04-12T17:00:04.000Z","updated_at":"2024-05-06T16:23:36.000Z","dependencies_parsed_at":"2024-04-13T00:44:01.645Z","dependency_job_id":"e5bed6f4-2627-46c6-b8ca-522e8cafbd6c","html_url":"https://github.com/SaadHaiderGit/CharacterRoleplayWebsite","commit_stats":null,"previous_names":["saadhaidergit/characterroleplaywebsite"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SaadHaiderGit/CharacterRoleplayWebsite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaadHaiderGit%2FCharacterRoleplayWebsite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaadHaiderGit%2FCharacterRoleplayWebsite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaadHaiderGit%2FCharacterRoleplayWebsite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaadHaiderGit%2FCharacterRoleplayWebsite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SaadHaiderGit","download_url":"https://codeload.github.com/SaadHaiderGit/CharacterRoleplayWebsite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaadHaiderGit%2FCharacterRoleplayWebsite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273703616,"owners_count":25153000,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["angular-cli","roleplay","spring-boot","website"],"created_at":"2024-09-25T11:20:22.634Z","updated_at":"2026-02-11T08:11:11.628Z","avatar_url":"https://github.com/SaadHaiderGit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Character Roleplay Website\n\nThis is a website where users will be able to log in to pre-made accounts, access their roleplaying characters, and add, update, or delete them as they wish. They can also perform dice rolls at their own leisure.\n\n## Setup \n\nPostgres and Node.js are necessary for this project. Make sure you have downloaded both before using this application.\n\nClone the repository to a folder of your choosing. In the character-roleplay-server folder, there is an application.yml. It includes an url for the Postgres database, along with a username and password.\n\n![image](https://github.com/SaadHaiderGit/CharacterRoleplayWebsite/assets/118562950/00849faa-a675-435d-8c62-4607ab157d2d)\n\nCreate a matching username and password in order for the backend server to access Postgres, then create a new database called 'character'. If you have a pre-existing database you want to use instead, you can change the application.yml's URL to `jdbc:postgresql://localhost:5432/{name_goes_here}`. You can also change the application.yml's values for username and password to a pre-existing combination you have saved in your Postgres application, if you so wish.\n\nSet up the node_modules if needed. Simply open the character-roleplay-folder in a command terminal of your choosing, then type `npm install`. One of the imports for this project, RPG Dice Roller, will need to be downloaded too. In the terminal, type `npm install @dice-roller/rpg-dice-roller` to download the required import.\n\n## Running the Program\n\nStart the backend server by going to the character-roleplay-server\\src\\main\\java\\com\\example\\characterroleplayserver folder, then access and run the CharacterRoleplayServerApplication.java file. This will activate the server and its corresponding database.\n\n![image](https://github.com/SaadHaiderGit/CharacterRoleplayWebsite/assets/118562950/3abf50fa-cbd8-4d32-97f8-41a3d4f12ada)\n\nThen go the character-roleplay-website folder. Open this folder in a command terminal and type `ng serve`, then navigate to `http://localhost:4200/` to see the website in action.\n\n## Accounts\n\nCurrently the website lacks the ability to create a new account. A few pre-made accounts from the following list can be accessed:\n1) `Saad (password: 12345)`\n2) `Hamza (password: 67890)`\n3) `Billy (password: FriendlyFriend)`\n4) `Empty (password: NoArgs)`\n\nIf you wish, you can add more accounts in the CharacterRoleplayServerApplication.java file. \n\n## Other Notes\n\nThe website currently does not save user sessions; anytime you reload the page, you will be redirected back to the login page.\n\nThe database server has a few pre-filled values for some accounts. It persists across sessions, but restarting the server will reset the database back to its preset values.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaadhaidergit%2Fcharacterroleplaywebsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaadhaidergit%2Fcharacterroleplaywebsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaadhaidergit%2Fcharacterroleplaywebsite/lists"}