Coder Social home page Coder Social logo

apimedic-backend's Introduction

Purpose

This project contains the API for ApiMedic application. This app recieves all the requests from the frontend application and handles them as appropriate.

ApiMedic is an application that arises with the need to enter the different symptoms that one has, and obtain a list of possible diagnoses. To then be able to observe a history of the consultations carried out and for each of them, once the doctor has visited, confirm the correct diagnosis.

Description

ApiMedic allows:

  • User registration
  • User authentication
  • Request diagnoses
  • View consultations
  • Set the diagnosis for specific consultation.

Installation

  1. First, you need to clone or download the repository from GitHub on your computer.

  2. In the root folder, add a .env file. This file is used to configure the environment variables. You should add the following variables, with the correspondent values:

  • PORT=
  • INTERNAL_FORMAT_DATE=
  • PRIVATE_KEY=
  • PUBLIC_KEY=
  • JWT_EXP_TIME=
  • JWT_ALGORITHM=
  • IV=
  • ENCRYPTION_KEY=
  • CRIPTOGRAPHY_ALGORITHM=
  • MYSQL_DATABASE=
  • MYSQL_USER=
  • MYSQL_PASSWORD=
  • MYSQL_ROOT_PASSWORD=
  • MYSQL_HOST=
  • URI_AUTH_API=
  • SECRET_KEY_AUTH_API=
  • USER_AUTH_API=
  • URI_HEALTH_API=
  1. To run this application, you must have to install the dependencies. To do this you can run the following command:
npm i
  1. And to finish and run the backend, you can run the following command:
node app.js

apimedic-backend's People

Contributors

joaquinlamela avatar

Watchers

 avatar

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.