ApiLogicServer / ApiLogicServer-src

Create an executable project (API and Admin App) from a database with 1 command, customize with rules and Python in your IDE
https://apilogicserver.github.io/Docs/
BSD 3-Clause "New" or "Revised" License
27 stars 3 forks source link

React Admin UI does not display multi-part keys #21

Open tylerm007 opened 8 months ago

tylerm007 commented 8 months ago
  1. Use 9.4.9

  2. ApiLogicServer create --project_name=foo --db_url=BudgetApp

  3. start app

  4. Post curl -X 'POST' \ 'http://localhost:5656/api/Budget/' \ -H 'accept: application/vnd.api+json' \ -H 'Content-Type: application/json' \ -d '{ "data": { "attributes": { "year_id": 2023, "month_id": 10, "user_id": 1, "category_id": 1, "description": "Budget Test", "amount": 100, "actual_amount": 0 }, "type": "Budget" } }'

  5. Open react admin app: http://localhost:5656/admin-app/index.html#/Budget/1 6.Notice all foreign keys say Bad Request