Code Monkey home page Code Monkey logo

health_records_api's Introduction

Welcome! πŸ‘‹

My name is Manuel and I am a software developer since 2019 currently living in Mexico City and working at @Montebit.

I'm currently working on maximize my golang development skills looking to contribute with my experience and knowledge.

You can visit my personal web site to have more information about me

πŸ› οΈ Skills

Languages

Golang Python Node Java Dart

Infrastructure

AWS

Database

MongoDB MySQL SQlite Postgres

πŸ“ˆ Stats

Manuel Carbajal Github Stats

health_records_api's People

Contributors

actions-user avatar dependabot[bot] avatar github-actions[bot] avatar manicar2093 avatar

Watchers

 avatar

health_records_api's Issues

Create user registry lamdba function

Description

There should be a process to create a user in DB and cognito. This should send an email to user indicating the registration and request enter the app and change the password.

Add API Controllers

Description

Maybe use AWS is not really a good idea. I'd like to have the chance to create a docker to deploy this as API service

Create client registration lambda

Description

Couche can registry a new client who is not in the program. This should create him into the database with the necessary data to be asked to end his registration with cognito

Add error to every function return

Describe the bug

Testing on AWS I found that all functions called by lambda.Start must return an error. This should be change by changing error handling or adding error interface and a nil to quick fix

Make better implementations for filters

Description

Create a class to send a function and its name to be registered and get the same methods to be called:

  • GetFilter
  • Run

Las funciones tendrΓ‘n la misma firma y se construiran desde el main para que sean inyectados al CreateLambdaHandlerWDependencies

Consider REL orm to replace GORM.

Description
Due some problems presented on transaction implementation on repositories we need other ORM option

Proposed Solution

Replace GORM by REL. REL has a test API that might be useful for this purpose

Alternatives considered
If anything it may be possible to keep GORM and work on my own ORM that satisfy all necessities

Add a UUID to User and Biotest tables

Description

For privacy and security matters would be great to use uuid or any other unique parameter for this db registries. WIth this we can avoid share an Auto Incremented ID.

Change catalogs handlers to pointers

Describe the bug

Testing on AWS I found I was not sending a pointer to search on DB. This code solve theis problem.

handlers/get_catalogs/app.go#12

var catalogs = map[string]interface{}{
	"biotype":                &[]entities.Biotype{},
	"bone_density":           &[]entities.BoneDensity{},
	"heart_healths":          &[]entities.HeartHealth{},
	"roles":                  &[]entities.Role{},
	"weight_classifications": &[]entities.WeightClasification{},
	"genders":                &[]entities.Gender{},
}

_handlers/get_catalogs/app.go#33

return catalogsRepository.FindAllCatalogItems(ctx, handler)

Add find user by filters

Description

It is need to create a function to find user by differents filters

Proposed Solution

  1. Create a function per search
  2. Create declared filters to be get from front

Create catalogs lambda function

Description

The front end should know all data can use to create a biotest. Through this lambda function will return the catalog required.

This should know if user have access to that catalog.

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.