Skip to content

inowas/backend-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INOWAS DSS Backend API

A simple api to store relevant data

Local Dev Environment

Install

  1. Clone the repository
git clone ...
  1. Adapt the configuration
cp .env.dist .env

Now you can change all relevant parameter in the .env-file.

  1. Build local dev environment
make dev-install
  1. Start local dev environment
make dev-start
  1. Stop local dev environment
make dev-stop

Use the local dev environment

User logins

Users are created from file users.dist.json.

Debugging with xdebug

  1. Create server in PhpStorm:
    • In "PHP" -> "Servers": create a new server with
      • Name: inowas.localhost
      • Host: localhost
      • Port: 80
      • Path mappings: repository path (project files root) to /srv/api in the container
  2. Add ?XDEBUG_SESSION_START=PHPSTORM to all requests you want to debug