Skip to content

xd-mau5/messagemicroservice-pragma-powerup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


PRAGMA POWER-UP

In this challenge you are going to design the backend of a system that centralizes the services and orders of a restaurant chain that has different branches in the city.

Built With

  • Java
  • Spring
  • Gradle

Getting Started

To get a local copy up and running follow these steps.

Prerequisites

Recommended Tools

Installation

  1. Clone the repository
  2. Change directory
    cd messagemicroservice-pragma-powerup
  3. Create a .env file in resources
     TWILIO_ACCOUNT_SID=<your twilio account sid>
     TWILIO_AUTH_TOKEN=<your twilio auth token>
     TWILIO_PHONE_NUMBER=<your twilio phone number>
  4. Open Swagger UI and test the endpoints, you must have a twilio account to send messages and be authenticated to access the endpoints
    POST http://localhost:8093/message/send
     Content-Type: application/json
     
     {
       "message": "string",
       "receiver": "string"
     }

Usage

  1. Right-click the class MessageMicroserviceApplication.java and choose Run
  2. Open http://localhost:8093/swagger-ui/index.html in your web browser

Tests

  • Right-click the test folder and choose Run tests with coverage

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages