Commit f27e4b90 authored by Sumaiyya Burney's avatar Sumaiyya Burney

Adds DB connection + Swagger UI, changes to port 8081

parent 06da550a
......@@ -31,3 +31,4 @@ build/
### VS Code ###
.vscode/
/src/main/resources/secret.properties
......@@ -29,7 +29,11 @@
<groupId>org.springframework.kafka</groupId>
<artifactId>spring-kafka</artifactId>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
......
server.port=8081
spring.data.mongodb.uri=mongodb+srv://admin:${db.password}@inventory-promotions.d4nfz.mongodb.net/products-promotions-db?retryWrites=true&w=majority
spring.data.mongodb.database=products-promotions-db
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment