Skip to content

Relational Records + wai: initial sprint #48

@mgmeier

Description

@mgmeier

Technology Stack

  • DB: Relational Records
  • Server: wai
  • JSON: aeson

Relational Records (HRR)

  1. Setup & Definition of Data Model in HRR
  2. CRUD Interface utilizing corresponding Haskell data types
  3. Error handling
  4. Investigate best way for DB housekeeping with HRR

Time estimate: 14 hours

Server

  1. Basic request routing
  2. Basic abstraction for REST handlers with some type safety

Time estimate: 8 hours

JSON

  1. Conversion to and from Haskell data types
  2. Basic validation

Time estimate: 4 hours

Domain API

  1. Implement domain REST API as per Specs on top of Server
  2. Tenants, Users, Roles data types
  3. Permission data type depending on how fast the sprint goes
  4. provide test cases against Domain API

Time estimate: 12 hours

The resulting Domain API should include:

  • CreateRole, DeleteRole, AssignRole, RemoveRole, GetRole
  • CreateUser, UpdateUser, ActivateUser, DeactivateUser, GetUser
  • CreateTenant, UpdateTenant, ActivateTenant, DeactivateTenant, GetTenant
  • maybe: corresponding Permission handlers (see above, point 3)

I'll commit my work to a feature branch in my fork of the haskell-webapps repository and send PRs to this one, unless desired otherwise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions