Author: Nadezhda Grishina
Course: TNPW2
University: University of Hradec Krรกlovรฉ
Last Update: April 25, 2025
CookBook is a web application for sharing recipes, created as a semester project for the course TNPW2 at the University of Hradec Krรกlovรฉ. Users can register, log in, add their own recipes with images, comment on others' recipes, and browse content by categories.
-
Frontend: React, Bootstrap
-
Backend: Spring Boot, Java 21, REST API
-
Database: MySQL (default)
-
Authentication: JWT (JSON Web Token)
Make sure you have a running MySQL database. You can configure your connection in backend/src/main/resources/application.properties. Example:
spring.datasource.url=jdbc:mysql://localhost:3306/cookbook
spring.datasource.username=root
spring.datasource.password=yourpassword
Create JWT Secret key. Use openssl rand -base64 32 command for example. Put it in backend/src/main/resources/application.properties as well. Example:
jwt.secret=U3Ca9flGmegXffooLUrLQ7cozn44nsavb0SXxLnbLM8=
Then run:
cd backend
./mvnw spring-boot:run
App will be available at: http://localhost:8080
backend/โ Spring Boot backend application (API + DB)frontend/โ React frontend (UI)README.mdโ this filescreenshots/โ files for Live Preview in README.md
This project was created as part of a university course and is for educational use only.
