Skip to content

REST api for creating receipts and the corresponding receiptItems

Notifications You must be signed in to change notification settings

xK0ch/receipt-rust

Repository files navigation

Receipt-Project

Introduction

Rust project for creating receipts and the corresponding receiptItems

Installing Rust

Install Rust via:

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

For more information go to the official Rust documentation

Environment variables

Before the application can be started an .env file needs to be created in the root directory. You can either do it manually or automatically by running following command:

    cp .env.example .env

Note: The .env.example already contains every configuration necessary for local development. For production these values need to be adjusted.

Starting the application locally

  1. Make sure Docker is installed & running
  2. Run:
    docker-compose up --build

Api documentation

This Api is documented with OpenAPI.

  • The OpenAPI json can be found here
  • For a visualisation of the endpoints go here

About

REST api for creating receipts and the corresponding receiptItems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published