Skip to content

mbannour/ZIO-Http-MongoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZIO-Http-MongoDB

This is a simple project in which I used ZIO HTTP to create a REST API with MongoDB as the database for storing and retrieving data. In this project, I utilized the following technologies:

  • zio-MongoDB
  • ZIO-JSON
  • ZIO-HTTP

Development guide

Before starting this project, you should have MongoDB installed locally, or you can start a MongoDB container on your local machine.

In my case, I used a Docker instance for MongoDB. To start it, you can simply run the following command:

docker run --name mongodb -p 27017:27017 -d mongo

After that to start the whole project just run :

sbt run

To run the test:

sbt test

About

Simple REST Service written on ZIO HTTP and Mongodb.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages