Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Latest commit

 

History

History
115 lines (79 loc) · 3.34 KB

README.md

File metadata and controls

115 lines (79 loc) · 3.34 KB

OrderFlow

Tests Contributors Issues

Table Of Contents

About The Project

Screen Shot

This app allows to simulate restaurant with dishes and orders

Built With

Getting Started

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

Prerequisites

  • You need docker and docker-compose to be installed on your machine.
  • Also you need maven to build app. Alternately you can use jar from release.

Installation

  1. Clone the repo
git clone https://github.com/TimNekk/OrderFlow
  1. Build with Maven
mvn clean package -DskipTests
  1. Rename .env.dist file to .env
mv .env.dist .env
  1. Generate JWT secret key
  1. Fill .env with corresponding data

  2. Run app

docker-compose up --build

Usage

Endpoint are protected with JWT, so make sure to register first and authorize using Bearer token.

MANAGER role allows to access api/v1/dish and api/v1/dishes

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  • If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
  • Please make sure you check your spelling and grammar.
  • Create individual PR for each suggestion.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request