Code Monkey home page Code Monkey logo

sms_powerup's Introduction


PRAGMA POWER-UP

In this challenge I am 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
  • 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 restaurant_powerup
  3. Create a new database in MySQL called restaurant_powerup
  4. Update the database connection settings
    # src/main/resources/application-dev.yml
    spring:
       datasource:
           url: jdbc:mysql://localhost/restaurant_powerup
           username: root
           password: <your-password>
  5. After the tables are created execute src/main/resources/data.sql content to populate the database
  6. Open Swagger UI and try

Usage

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

Validations

Field Requirement Example
Phone Number The phone number should be in Colombian format, with the respective prefix.
The "+" sign at the beginning of the number is optional.
+573001234567
573001234567
NIT The NIT field should contain only numeric characters. 1234567890
Restaurant Name The restaurant name can contain numbers, but names consisting solely of numbers are not allowed. Restaurant 123

Tests

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

sms_powerup's People

Contributors

gabrielrevelo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.