{"id":25024965,"url":"https://github.com/mbannour/akkahttp-mongodb","last_synced_at":"2026-05-09T14:37:39.471Z","repository":{"id":144584607,"uuid":"166641790","full_name":"mbannour/AkkaHttp-Mongodb","owner":"mbannour","description":"Simple REST Service written on Akka HTTP with Mongodb. ","archived":false,"fork":false,"pushed_at":"2019-02-02T08:36:50.000Z","size":27,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T16:43:37.295Z","etag":null,"topics":["akka","circe","docker-compose","mongodb","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/mbannour.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":"2019-01-20T08:59:36.000Z","updated_at":"2023-12-16T17:14:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"efc6ecbf-6a1e-4b7b-89f6-781022119389","html_url":"https://github.com/mbannour/AkkaHttp-Mongodb","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/mbannour%2FAkkaHttp-Mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbannour%2FAkkaHttp-Mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbannour%2FAkkaHttp-Mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbannour%2FAkkaHttp-Mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbannour","download_url":"https://codeload.github.com/mbannour/AkkaHttp-Mongodb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246334429,"owners_count":20760644,"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":["akka","circe","docker-compose","mongodb","rest-api"],"created_at":"2025-02-05T16:33:53.629Z","updated_at":"2026-05-09T14:37:39.435Z","avatar_url":"https://github.com/mbannour.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Akka HTTP-Mongodb Application\n\nThis is a simple project, in which I used akka HTTP for creating a REST API with Mongodb as database for storing and retrieving data.\nIn this Project I used the following technologies: \n\n- **MongoDB Scala Driver** \n- **Circe** \n- **Akka HTTP**\n\n# Requirements\n\n- JDK 8 (http://www.oracle.com/technetwork/java/javase/downloads/index.html);\n- Sbt (http://www.scala-sbt.org/release/docs/Getting-Started/Setup.html);\n- Docker (For Lunix: https://docs.docker.com/install/linux/docker-ce/ubuntu/)\n\n# Development guide\n\nBefore starting this project you should have Mongodb installed locally or you can start a mongodb container in your local machine.\n\nIn my case I user docker instance for Mongodb, to start that it is very simple just run this command:\n\n```docker run --name mongodb -p 27017:27017 -d mongo```\n\nAfter that to start the whole project just run :\n\n```sbt run ```\n\n# Docker packager\n\nTo package application as docker image, use `sbt docker:publishLocal`. It will generate and push application image into your local docker store. For more information about publishing to external store, please, read [plugin documentation](https://www.scala-sbt.org/sbt-native-packager/formats/docker.html).\n\nAfter publishing the image locally, the easiest way to start the application is to run docker-compose:\n\n```docker-compose up``` \n\nNow you have the application running in docker , for testing some functionalities just run theses commands :\n\n```curl --header \"Content-Type: application/json\" --request POST  --data ' {\"id\": \"58dd0a68218de27733475fa4\",\"login\": \"user1\", \"email\": \"email@email.com\",\"password\": \"secret\"}' http://localhost:9000/api/users/create```\n\n``` curl -i -H \"Accept: application/json\" \"http://localhost:9000/api/users\" ```\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbannour%2Fakkahttp-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbannour%2Fakkahttp-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbannour%2Fakkahttp-mongodb/lists"}