baldemir / appointment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Appointment Rest Api

Steps to start applications

Make sure to set database credentials on

  • booking-service/src/main/resources/application.properties
  • cleaner-service/src/main/resources/application.properties

Create two database schemas accordingly.(default schema names: booking, service )

Clone the repo to desired path and then run the following commands

cd appointment/eureka-server

mvn spring-boot:run

cd ../gateway

mvn spring-boot:run

cd ../booking-service

mvn spring-boot:run

cd ../cleaner-service

mvn spring-boot:run

Automatically created api docs:

http://localhost:6141/swagger-ui/

http://localhost:8554/swagger-ui/

I have also added Postman collection export if you want to try the rest apis on Postman.

Example get call to apis through gateway

http://localhost:4522/api/v1/cleaner

Algorithm

You can call php count_similarities.php

then give the input in following format

2
aaa
ddaaddaa

Next Steps

Implement user authentication

Implement caching

Add logging

Agree on appointment time slots to make algorithms more efficient

Add reports

About


Languages

Language:Java 97.6%Language:PHP 2.4%