Giter VIP home page Giter VIP logo

blueprint-api's Introduction

๐Ÿ‘ฃ Blueprint Diagnostic Screener API ๐Ÿ”ต

Deployed

Table of Contents

Introduction

This api was built in Express for the Blueprint take home challenge, and includes a /get and /post request.

Planning

Linear Board Used for planning and organizing FE & BE tasks

Data Planning Implemented to organize data structure and user flows

Features

  • /get request includes /screener url which returns the screener object
  • /post request takes in an array of patient answers and returns level_two_assesments based on scores

*** domains data is currently hard-coded in the express api. I considered learning mysql in order to apply this properly, but decide to focus on building an effective backend in express and a user-friendly UI.

Future Features

If given more time to work on the back-end of this application, my main focuses would be :

Security

Another thing I'm interested in learning more about is how to make this api secure. Because the /post request deals with sensitive information, it seems important that this data would have no possibility in being interested.

Testing

Because it was my first time building a functional backend with express, it took some learning to figure out how to test the requests I was making. Eventually I figured out how to use nodemon for active refreshes, and apply the correct urls to the local environments to ensure my /get requests were working. However, I'm still uncertain on how to test the /post request, even manually, and would have spent more time on that.

Error Handling

While I attempted to implement appropriate responses for 400 and 500 status codes, I am not entirely sure how effective those methods are, and am quite certain there could be more improvement in this regard.

Reflection

Overall I had a great learning experience building a functional backend with express for the first time! The struggles I had included having difficulty testing the conversation between the front and backend, but overall enjoyed the process of working more with the backend.

Technologies

  • Express
  • Nodemon
  • Deployed on Vercel

Resources

  • If you're interested in the resources I used to learn Express and write the code, I made a google doc of the bookmarks I made throughout the process here

Contributors

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.