Prisma is an app that strengthens the relationship between people with memory loss and the people close to them

Overview

Prisma API Build Status

About

Prisma is an app that strengthens the relationship between people with memory loss and the people close to them. It does this by providing a living, collaborative digital photo album that can be populated with content of interest to these people.

This repository hosts the central API for the project.

Be sure to check out our home page prisma.care for more information.

History

Project Prisma was part of Open Knowledge Belgium's open Summer of Code 2017. A student team coached by Frederik Vincx (@fritsbits) worked on it in July 2017:

  • Michiel Leyman (@MichielLeyman) - backend & project management
  • Simon Westerlinck (@siimonco) - backend & database modelling
  • Jean-Pacifique Mboynincungu (@oxnoctisxo) - frontend system analysis
  • Thor Galle (@th0rgall) - frontend & product owner

The app was conceived in a one-month collaborative design project in a care home in Zonhoven, Belgium, in January 2017. Together with personel and dementia design researchers the team honed in on a static prototype that was later refined during the Open Summer of Code. More info about it in this blog post.

Contributing

Want to help out? First, peruse the Prisma wiki to learn about the roadmap, milestones and approach to developing software for people with dementia.

Installation

Requires PHP version >=5.6.4. Make sure Composer is installed.

After cloning, install project dependencies:

composer install

Generate an app key:

php artisan key:generate

We use MySQL, you can add settings for your local database configuration in a .env file (see example). All other configuration that is specific to your local environment should also be set in this file.

Run database migrations and seed:

php artisan migrate
php artisan db:seed

Serve the application:

php artisan serve

Run API tests:

./vendor/bin/phpunit --testsuite Feature

This uses the testing environment, so make sure you have a .env.testing file for all configuration specific to running the tests (such as a separate database).

You might also like...
JsonCollectionParser - Event-based parser for large JSON collections (consumes small amount of memory)

Event-based parser for large JSON collections (consumes small amount of memory). Built on top of JSON Streaming Parser This packa

Provides an object-oriented API to query in-memory collections in a SQL-style.

POQ - PHP Object Query Install composer require alexandre-daubois/poq 1.0.0-beta2 That's it, ready to go! ๐ŸŽ‰ Usage Here is the set of data we're going

PHP library for Disque, an in-memory, distributed job queue

disque-php A PHP library for the very promising disque distributed job queue. Features: Support for both PHP (5.5+) and HHVM No dependencies: Fast con

Manifest is a ProcessWire module that bridges between Twig and Webpack.

Manifest is a ProcessWire module that bridges between Twig and Webpack.

A simple HTTP server behaving as proxy between webhooks and Appwrite Functions.
A simple HTTP server behaving as proxy between webhooks and Appwrite Functions.

A simple HTTP server behaving as proxy between webhooks and Appwrite Functions, allowing for instance Stripe payments integration into Appwrite.

A fully-managed real-time messaging service that allows you to send and receive messages between independent applications.

A fully-managed real-time messaging service that allows you to send and receive messages between independent applications.

A bot written in PHP which attempts to link IRC with SQL database, allowing for integration between platforms

Valeyard IRC-SQL-GateWay A bot written in PHP which attempts to link IRC with SQL database, allowing for integration between platforms. This bot is mo

Envbar allows you to differentiate between environments by adding a custom colored bar above the top navigation.
Envbar allows you to differentiate between environments by adding a custom colored bar above the top navigation.

Envbar Envbar allows you to differentiate between environments by adding a custom colored bar above the top navigation. This should help backend users

Library for check dependency between modules inside projects

PHP Dependency analyzer PHP DA is tool for check and support dependencies inside your project clear. For example: You have project with 3 root namespa

Comments
  • VPS setup

    VPS setup

    Set up a LEMP stack on a VPS, configure the following:

    • [x] PHP
    • [x] MySQL
    • [x] Nginx
    • [x] Application environment
    • [x] TLS (LetsEncrypt) -> Domain name needed
    opened by micleyman 2
  • Add more API tests

    Add more API tests

    Include API tests for:

    • [x] Edge cases for existing tests
    • [x] Managing heritage
    • [x] Managing default albums
    • [x] Patient prepopulation
    • [x] Story Asset posting and getting
    • [x] Heritage Asset posting and getting
    • [x] User access control
    • [ ] Invites
    enhancement 
    opened by micleyman 1
  • Add Dutch language files

    Add Dutch language files

    Return error messages in Dutch. Now we only have them in English here: https://github.com/Prisma/api/tree/46ad4294f4a339525a9e89f8da11d99a7a5db4ae/resources/lang

    These strings are already translated. Let's add them. https://github.com/caouecs/Laravel-lang/tree/master/src/nl

    opened by fritsbits 0
  • Story should not require user id in request body

    Story should not require user id in request body

    We get creatorId from the request in every method in https://github.com/Prisma/api/blob/develop/app/Http/Controllers/StoryController.php, we should parse this from the JWT in the Auth header instead

    enhancement 
    opened by micleyman 0
Owner
Soulcenter
Bring more color to the lives of people in carehomes and their caregivers
Soulcenter
zend-memory manages data in an environment with limited memory

Memory objects (memory containers) are generated by the memory manager, and transparently swapped/loaded when required.

Zend Framework 16 Aug 29, 2020
This plugin allows you to create many-to-many relationships between pages in Kirby and synchronizes them on both sides.

Kirby 3 Many To Many Field This plugin allows you to create many-to-many relationships between pages in Kirby.

Jonas Holfeld 41 Nov 19, 2022
โญ It is an platform for people to help them get connected with the like minding folks around the globe.

Meetups It is an Platform for people to help them get connected with the like minded folks around the globe. Live on Web: Cick here ?? Meet and Connec

Hardik Kaushik 5 Apr 26, 2022
SuiteCRM is the award-winning open-source, enterprise-ready Customer Relationship Management (CRM) software application.

SuiteCRM is the award-winning open-source, enterprise-ready Customer Relationship Management (CRM) software application.

SalesAgility 111 Dec 21, 2022
Ip2region is a offline IP location library with accuracy rate of 99.9% and 0.0x millseconds searching performance. DB file is ONLY a few megabytes with all IP address stored. binding for Java,PHP,C,Python,Nodejs,Golang,C#,lua. Binary,B-tree,Memory searching algorithm

Ip2regionๆ˜ฏไป€ไนˆ๏ผŸ ip2region - ๅ‡†็กฎ็Ž‡99.9%็š„็ฆป็บฟIPๅœฐๅ€ๅฎšไฝๅบ“๏ผŒ0.0xๆฏซ็ง’็บงๆŸฅ่ฏข๏ผŒip2region.dbๆ•ฐๆฎๅบ“ๅชๆœ‰ๆ•ฐMB๏ผŒๆไพ›ไบ†java,php,c,python,nodejs,golang,c#็ญ‰ๆŸฅ่ฏข็ป‘ๅฎšๅ’ŒBinary,Bๆ ‘,ๅ†…ๅญ˜ไธ‰็งๆŸฅ่ฏข็ฎ—ๆณ•ใ€‚ Ip2region็‰นๆ€ง

Lion 12.6k Dec 30, 2022
Get the system resources in PHP, as memory, number of CPU'S, Temperature of CPU or GPU, Operating System, Hard Disk usage, .... Works in Windows & Linux

system-resources. A class to get the hardware resources We can get CPU load, CPU/GPU temperature, free/used memory & Hard disk. Written in PHP It is a

Rafael Martin Soto 10 Oct 15, 2022
This PHP script optimizes the speed of your RAM memory

โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ•—โ–‘โ–‘โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ•—โ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ–ˆโ•—โ–‘โ–‘โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘ โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”

ร‰rik Freitas 7 Feb 12, 2022
High-performance, low-memory-footprint, single-file embedded database for key/value storage

LDBA - a fast, pure PHP, key-value database. Information LDBA is a high-performance, low-memory-footprint, single-file embedded database for key/value

Simplito 12 Nov 13, 2022
An autoscaling Bloom filter with ultra-low memory footprint for PHP

Ok Bloomer An autoscaling Bloom filter with ultra-low memory footprint for PHP. Ok Bloomer employs a novel layered filtering strategy that allows it t

Andrew DalPino 2 Sep 20, 2022
PHP Meminfo is a PHP extension that gives you insights on the PHP memory content

MEMINFO PHP Meminfo is a PHP extension that gives you insights on the PHP memory content. Its main goal is to help you understand memory leaks: by loo

Benoit Jacquemont 994 Dec 29, 2022