{"id":15138192,"url":"https://github.com/jonasbindrim/rocket_notes","last_synced_at":"2026-03-08T16:37:45.236Z","repository":{"id":215352292,"uuid":"723292559","full_name":"jonasbindrim/Rocket_Notes","owner":"jonasbindrim","description":"Template application for rocket","archived":false,"fork":false,"pushed_at":"2024-12-06T11:35:25.000Z","size":137,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T18:52:06.159Z","etag":null,"topics":["rocket","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/jonasbindrim.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-25T07:43:07.000Z","updated_at":"2024-07-13T11:22:18.000Z","dependencies_parsed_at":"2024-09-06T22:40:59.417Z","dependency_job_id":null,"html_url":"https://github.com/jonasbindrim/Rocket_Notes","commit_stats":null,"previous_names":["jonasbindrim/rocket_notes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasbindrim%2FRocket_Notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasbindrim%2FRocket_Notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasbindrim%2FRocket_Notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasbindrim%2FRocket_Notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonasbindrim","download_url":"https://codeload.github.com/jonasbindrim/Rocket_Notes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237834748,"owners_count":19373785,"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":["rocket","rust"],"created_at":"2024-09-26T07:21:07.169Z","updated_at":"2025-10-23T13:31:08.442Z","avatar_url":"https://github.com/jonasbindrim.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rocket Notes\n\nThis small project demonstrates how to use the Rocket framework (Version 0.5) to built a rest-api.\nThematically this project implements a simple api to store a retrieve text notes.\n\nTo get information about the available endpoints, check out the `OpenApiSpec.yaml`.\n\n## Endpoints permissions\n\nThis project uses BasicAuth to authorize access to some endpoints. Since this is only for demonstration purposes\nthe required access data is currently hardcoded.\n\nBasicAuth data:\n\nUsername: `username`  \nPassword: `password`\n\n## Executing tests\n\nWhen running the tests with cargo make sure to only use a single thread because all tests use the same database\nwhich nees to be in specific states for tests to succed. Using a single thread can be done with the --test-thread argument.\n\n```Bash\ncargo test -- --test-threads=1\n```\n\n## Build docker container\n\n```Bash\n# The following command can be used to build the docker image\ndocker build . -t rocket_notes_img\n\n# After building the image the following command can be used to run the image\ndocker run -dit --name rocket_notes -p 80:80 rocket_notes_img\n```\n\n## TODO\n\n- [ ] Move database into a volumne in docker\n- [ ] Add database migration example\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonasbindrim%2Frocket_notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonasbindrim%2Frocket_notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonasbindrim%2Frocket_notes/lists"}