Skip to content

Spring Boot Web App for Simulating Restaurant with Dishes and Orders

Notifications You must be signed in to change notification settings

TimNekk/OrderFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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