adwas33

Untitled

Apr 30th, 2022
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.26 KB | None | 0 0
  1. # BeFit
  2. ## _Application to track and reduce weight_
  3. BeFit is client-server application which you can run on your own browser or phone . It will motivate you to make your progress and improve avareness about healthy lifestyle .
  4. ## Features
  5. - Check places where you can workout in your neaberhood
  6. - Check callory demand based on your weight,height,age and gender .
  7. - Calculate BMI based on personal data
  8. - Calculate how mutch activities you have to spend to burn insetred callories .
  9. - Check calories in food with given information how mutch product you have to calculate , number in grams : fat , nutreins , carbohydrantes .
  10. - Register new user
  11. - Login with sesion
  12.  
  13. ##### Only for registered people features :
  14. - Free weight and date insertion .
  15. - Linear weight progress
  16.  
  17. ## Tech stack
  18.  
  19. BeFit uses a number of open source projects to work properly:
  20. - [Java] - Popular crossplatform object oriented programing language
  21. - [JakartaEE] - Jakarta EE is a collection of specifications made for creating applications in the standarized method
  22. - [Servlets]- Jakarta Servlet defines a server-side API for handling HTTP requests and responses.
  23. - [JSP] - Similar to HTML files but with ability to insert there Java code .
  24. - [JSTL] - Liblary for tags used to remove scriptlets
  25. - [TOMCAT] - Application serwer on whose app is running
  26. - [CSS] - Styles to improve website appearance
  27. - [Bootstrap] - Framework for CSS ready for use
  28. - [JS] - Script language which can be launched on browser used to user interaction .
  29.  
  30. ## System and software requirements
  31. To run that application it is nessesary to have or download :
  32. - Java 14 or newer
  33. - Tomcat 10.0.02
  34.  
  35. Optionaly if you want edit and recompile the code it would be nessesary to have JDK with equiwalent version as like Java .
  36. ### Instruction of application deployment
  37. To be honest i would recomend to use IntelliJ idea to run application after configure IDE .
  38.  
  39. But there are other ways to run that application . I will describe only one of them .
  40. Firstly you have to compile my application using maven and by folowing commands:
  41. ```sh
  42. mvn clean
  43. mvn package
  44. ```
  45. Then you have to copy *.war file to the folowing folder <WHERE_TOMCAT_WERE_INSTALLED>/webapps
  46. After that it is nessesary to run script from place <WHERE_TOMCAT_WERE_INSTALLED>/bin by command
  47. ```
  48. catalina.bat run
  49. ```
  50.  
  51. Now application should be present at browser at folowing address :
  52. ```
  53. <LOCALHOST>::<PORT_WHERE_TOMCAT_IS_RUNNING>/<NAME_OF_WAR_FILE>
  54. ```
  55. ![Deployed app](https://i.imgur.com/2IpeMNO.png)
  56.  
  57. As we can see application is running .
  58. ## Presentation
  59. - _*Main page*_
  60. ![Main page 1](https://i.imgur.com/Tl2gifJ.jpg)
  61. ![Main page 2](https://i.imgur.com/ago7ozD.png)
  62. - *Check callory in food*
  63. ![CheckCall1](https://i.imgur.com/mYU9XsE.png)
  64. ![CheckCall2](https://i.imgur.com/00M6MKm.jpg)
  65. ![CheckCall3](https://i.imgur.com/NImc9q7.jpg)
  66. - *List of gyms*
  67. ![List of gyms1](https://i.imgur.com/GkK1qsW.png)
  68. ![List of gyms2](https://i.imgur.com/daW9n6E.png)
  69. - *Calculate BMI*
  70. ![Calculate BMI1](https://i.imgur.com/2THvI3W.png)
  71. ![Calculate BMI2](https://i.imgur.com/wOwoUqW.png)
  72. - *Calculate calories to activity*
  73. ![Calculate calories to activity1](https://i.imgur.com/2CrIm2g.png)
  74. ![Calculate calories to activity2](https://i.imgur.com/kx5kc3P.png)
  75. - *Register*
  76. ![Register](https://i.imgur.com/hwnVzbY.png)
  77. - *Login*
  78. ![Login](https://i.imgur.com/4RIpZOX.png)
  79. - *Select action*
  80. ![Select action](https://i.imgur.com/zNSCbeT.png)
  81. - *Free weight insertion*
  82. ![Free weight insertion1](https://i.imgur.com/zdlxQuf.png)
  83. ![Free weight insertion2](https://i.imgur.com/JKr5z0y.png)
  84. ![Free weight insertion3](https://i.imgur.com/eaID7ya.png)
  85. - *Linear weight progres*
  86. ![Linear weight progres1](https://i.imgur.com/4hyijmN.png)
  87. ![Linear weight progres2](https://i.imgur.com/k1IDJ0C.png)
  88.  
  89. [JakartaEE]: <https://jakarta.ee/>
  90. [Java]: <https://www.java.com/pl/>
  91. [Bootstrap]: <https://getbootstrap.com/>
  92. [JSP]: <https://jakarta.ee/specifications/pages/3.0/>
  93. [JSTL]: <https://jakarta.ee/specifications/tags/2.0/>
  94. [TOMCAT]: <https://tomcat.apache.org/>
  95. [CSS]: <https://developer.mozilla.org/pl/docs/Learn/Getting_started_with_the_web/CSS_basics>
  96. [JS]: <https://developer.mozilla.org/en-US/docs/Web/javascript>
  97. [Servlets]: <https://jakarta.ee/specifications/servlet/5.0/>
Add Comment
Please, Sign In to add comment