adwas33

BeFit

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