{"id":21018114,"url":"https://github.com/daquirm/rslang-service","last_synced_at":"2025-10-09T13:07:06.416Z","repository":{"id":142507335,"uuid":"177035220","full_name":"DaQuirm/rslang-service","owner":"DaQuirm","description":"A backend prototype for RS Lang","archived":false,"fork":false,"pushed_at":"2020-10-08T20:56:35.000Z","size":94,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-13T17:19:19.356Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DaQuirm.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","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":"2019-03-21T22:49:33.000Z","updated_at":"2020-10-08T20:56:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c4f91da-4f48-46dc-9ccc-78317f6070d4","html_url":"https://github.com/DaQuirm/rslang-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DaQuirm/rslang-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaQuirm%2Frslang-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaQuirm%2Frslang-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaQuirm%2Frslang-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaQuirm%2Frslang-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaQuirm","download_url":"https://codeload.github.com/DaQuirm/rslang-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaQuirm%2Frslang-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001541,"owners_count":26083102,"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-10-09T02:00:07.460Z","response_time":59,"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":[],"created_at":"2024-11-19T10:23:41.915Z","updated_at":"2025-10-09T13:07:06.378Z","avatar_url":"https://github.com/DaQuirm.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rslang-service\n\n## Running locally\n\nThe web service application is published as a [Docker image](https://hub.docker.com/r/daquirm/rslang-service).\nIn order to store and retrieve data it needs a running [postgres](https://www.postgresql.org/) container.\n\n1. Install [Docker](https://www.docker.com/) and make sure it's running.\n2. Create a Docker network to be used by the containers: `docker network create rslang`.\n3. Pull and run postgres: `docker run -e POSTGRES_USER=rslang-service -e POSTGRES_PASSWORD=rslang -e POSTGRES_DB=lang -v postgres-data:/var/lib/postgresql/data --network=rslang --network-alias=pg -p 5432:5432 -d postgres`\n\nIt's a good idea to install a visual database administration tool such as [pgAdmin](https://www.pgadmin.org/) to browse and manipulate the service database.\n\n4. Pull and run the service app: `docker run -p 3000:3000 --network=rslang daquirm/rslang-service`\n5. Verify that the service app is responding by sending a request to an endpoint (for example `GET /users`)\n\nTo send HTTP requests use `curl` or install a REST API client, such as [Advanced REST Client](https://install.advancedrestclient.com/install).\n\n6. The service app can initialise the database by creating all the schemas/tables. Send `POST /schema/init`.\n7. Your personal rslang backend is ready to use! Now you can use [Swagger Editor](editor.swagger.io) to view the API documentation. Get the JSON data (`GET /swagger.json`) and copy-and-paste it into the editor.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaquirm%2Frslang-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaquirm%2Frslang-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaquirm%2Frslang-service/lists"}