Web platform for the Ministry of Health - Romania that helps the interaction between doctors and patients. Mainly, the application is made in order to keep a record of vaccines made by a patient over the years.
Backend - server:
Project initialization and start:
npm init
npm run start
Install packs:
npm install nume_pachet --save
Containerization (docker and docker-compose)
docker container ls -qa
docker container rm [id]
docker volume ls
docker volume rm [VolumeName]
Creating the database in the container - init
docker-compose up
Delete created volumes:
docker system prune –volumes
Front-end:
Generating a project:
npx create-react-app vaccine-hero
Inside that directory, you can run several commands:
Starts the development server:
npm start
REACT_APP_GOOGLE_CLIENT_ID=YxvqMJE1fpCpbgT1jdQ3WV_r npm start
Bundles the app into static files for production:
npm run build
Starts the test runner.
npm test
Removes this tool and copies build dependencies, configuration files and scripts into the app directory. If you do this, you can’t go back!
npm run eject
We suggest that you begin by typing:
cd vaccine-hero
npm start