Skip to content

martinkr/golem-api-programmierung

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup and Installation

  1. Install dependencies:
npm install
  1. Navigate to the folder for the API type you are looging for

  2. Start the waiter server:

node waiter.server.mjs
  1. In a separate terminal, start the API server:
node {APITYPE}.server.mjs

API Usage

REST API Endpoints

The REST API is available at http://localhost:3000 and provides the following endpoints:

  • GET /menu: Returns all menu items
    • Optional query parameter: maxPrice (e.g., /menu?maxPrice=5)
  • GET /menu/vegetarian: Returns only vegetarian menu items

About

Codebeispiele zum Special "API Programmierung"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published