Skip to content

Front end para la aplicación de diagnóstico y predicción de complicaciones COVID-19

License

Notifications You must be signed in to change notification settings

tozanni/covid_rcp_app

Repository files navigation

RCP COVID-19 API

Symfony based API for the RCP COVID-19 web app.

Requirements

Installation

  1. Use the package manager composer to install dependencies.

     composer install
    
  2. Update the .env.local file according to your environment.

  3. Run migrations

     bin/console doctrine:migrations:migrate
    
  4. (OPTIONAL) Get the Symfony CLI tool to run a local web server

     symfony serve
    

JSON Web Token (JWT) Configuration

  1. Generate Certificates:

     openssl genrsa -out config/jwt/private.pem -aes256 4096
     openssl rsa -pubout -in config/jwt/private.pem -out config/jwt/public.pem
    
  2. Update .env file:

     JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
     JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
     JWT_PASSPHRASE=covid19prevRCP (used in previous step)
    

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Front end para la aplicación de diagnóstico y predicción de complicaciones COVID-19

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published