Code Monkey home page Code Monkey logo

api's People

Contributors

archived-m avatar blueclock avatar fritsbits avatar siimonco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

api's Issues

VPS setup

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

  • PHP
  • MySQL
  • Nginx
  • Application environment
  • TLS (LetsEncrypt) -> Domain name needed

Story resource

  • POST /patient/{id}/story
  • GET /patient/{patientId}/story/{storyId}
  • PATCH /patient/{patientId}/story/{storyId}
  • DELETE /patient/{patientId}/story/{storyId}
  • POST /patient/{patientId}/story/{storyId}/asset

API tests for current app state

This is blocking everything else, too many things are breaking because of untested deploys. No refactors/features until Travis is running API tests

  • User signin
  • User signup
  • User signout
  • Patient
  • Album
  • Story
  • Story Assets -> BLOCKED
  • Connect & Disconnect users from patients

Album resource

  • GET /patient/{id}/album
  • POST /patient/{id}/album
  • GET /patient/{patientId}/album/{albumId}
  • PATCH /patient/{patientId}/album/{albumId}
  • DELETE /patient/{patientId}/album/{albumId}

Prevent profile duplicates

To prevent people from creating a profile for the same patient, suggest that a profile already exists, based on:

  • Full name
  • Date of birth
  • Gender

User access management

Currently any user can request stuff for any patient.
Only allow requests to patients a user is connected to.

Uploading a picture with description

Demoable frontend/backend communication - A static user creates a story with a picture as a media type

To be implemented:

  • POST /patient/{patientId}/story
  • POST /patient/{patientId}/story/{storyId}/asset

Write mysql queries

Create the needed laravel controllers and fill them with the required queries for the api

Auto-deploy master on merge

The production application should always reflect the master branch.
Continuous integration (#5) should deploy to the server (#14) on merge.

Patient resource

"Patient" serves as a container for albums and stories

  • POST /patient
  • GET /patient/{id}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.