Thanks to visit codestin.com
Credit goes to github.com

Skip to content

AndresSArias/CinePacho-microservice-Users

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


CINE PACHO, MICROSERVICE USERS

Installation guide for the backend of a system that resolve the services of a cinema chain that has different multiplexes in the city. This is the Users Microservice, this microservice solves the authentication and user management requirements in the Cine Pacho system.

Built With

  • Java
  • Spring
  • Gradle
  • MySQL

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 PowerUp-Reto-microserviceUsers
  3. Execute the script of "scriptCreateDB" in resource (src/main/resources/scriptCreateDB.sql).
  4. After the data base are created execute src/main/resources/scriptInitialDBFill.sql content to populate the database
  5. Update the database connection settings
    # src/main/resources/application-dev.yml
    spring:
       datasource:
           url: jdbc:mysql://localhost/cinepacho_dbusers
           username: root
           password: <your-password>
  6. Open Swagger UI and search the /auth/login endpoint and login with ID: 9999999999, password: 1234

Usage

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

Tests

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

About

In this repository you will find the user microservice for Cine Pacho.

Resources

Stars

Watchers

Forks

Packages

No packages published