Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback #1

Open
wants to merge 126 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
1785d8a
Setting up GitHub Classroom Feedback
github-classroom[bot] Mar 7, 2024
d34a9b6
add deadline
github-classroom[bot] Mar 7, 2024
6261567
READNE modified and planning created
joyjos Mar 10, 2024
ff21513
README modified
joyjos Mar 10, 2024
f2917be
Update planning.md
joyjos Mar 17, 2024
4ca2a6d
Update planning.md
joyjos Mar 17, 2024
1547d14
Update README.md
joyjos Mar 17, 2024
1bf062f
Create JOY SWEETS.png
joyjos Mar 17, 2024
8eec68e
Logo added
joyjos Mar 17, 2024
df4af0a
Logo renamed
joyjos Mar 17, 2024
9fd3ce5
Update README.md
joyjos Mar 17, 2024
836843c
Logo added
joyjos Mar 17, 2024
23b49d7
Update README.md
joyjos Mar 17, 2024
0431d34
Logo changed
joyjos Mar 17, 2024
411ae76
Changes
joyjos Mar 17, 2024
2d1d4e6
Update README.md
joyjos Mar 17, 2024
8698d5e
Update planning.md
joyjos Mar 17, 2024
5c434a3
Update planning.md
joyjos Mar 25, 2024
f6ad6fa
Initial configuration
joyjos Mar 26, 2024
5877652
application.properties configuration, data.sql creation, Post and Use…
joyjos Mar 26, 2024
b6d72a6
PostRepository and UserRepository implemented
joyjos Mar 27, 2024
971270e
PostRequest, PostResponse, PostService and PostController implemente…
joyjos Mar 27, 2024
19373e1
React Router DOM and Axios installed
joyjos Mar 27, 2024
c07131f
AppRouter created. Logo, favicon and fonts added. General styles added
joyjos Mar 27, 2024
36fa275
Header and Recipe components added. HomePage, PostService and PostCon…
joyjos Mar 28, 2024
aa234ee
CORS configuration implemented
joyjos Mar 28, 2024
ed07a76
CORS configuration modified
joyjos Mar 28, 2024
de1dce8
PostContext, Recipes and HomePage modified
joyjos Mar 28, 2024
2be33e9
Post modified and uploads dir added
joyjos Mar 28, 2024
3793c96
Recipe component added. Layout and RecipePage added. PostService, Pos…
joyjos Mar 30, 2024
92a88fd
Blog component added. BlogPage added. utils.js added. CSS settings
joyjos Mar 31, 2024
be0a237
styles.css modified
joyjos Apr 1, 2024
d92bb8f
Admin FrontEnd architecture added
joyjos Apr 6, 2024
5e933e7
Editor component added
joyjos Apr 6, 2024
397ec8a
Post entity modified
joyjos Apr 6, 2024
c8adbff
deletePost endpoint implemented in the frontend
joyjos Apr 7, 2024
563398f
PostService and PostController modified
joyjos Apr 7, 2024
f8aec90
Role and RoleRepository created
joyjos Apr 7, 2024
9063629
UserService and UserController created
joyjos Apr 7, 2024
1f6e6a3
UserService modified
joyjos Apr 7, 2024
e2a5d66
UserService, UserController and RoleService added
joyjos Apr 7, 2024
e38d24f
UserService, UserContext, UsersPage and User component added
joyjos Apr 7, 2024
8618d1a
FileUploadController implemented
joyjos Apr 9, 2024
d99dd2d
ImageController implemented
joyjos Apr 10, 2024
8103f4e
Image path modified
joyjos Apr 10, 2024
5f4f537
Update README
jsrois Apr 12, 2024
29deb87
JWT Authentication added
joyjos Apr 12, 2024
1894b88
Merge branch 'FactoriaF5Code:develop' into develop
jsrois Apr 12, 2024
67b75e3
Update
joyjos Apr 12, 2024
d7953d1
Merge branch 'FactoriaF5Code:develop' into develop
jsrois Apr 12, 2024
d4d2c31
Corregidos fallos
jsrois Apr 12, 2024
f0e9cb5
Merge pull request #2 from jsrois/develop
jsrois Apr 12, 2024
852d521
Header component update
joyjos Apr 12, 2024
3a4ab59
Changes added
joyjos Apr 12, 2024
84f6351
Merge branch 'main' of https://github.com/FactoriaF5Code/rc2-final-pr…
joyjos Apr 12, 2024
f28c764
Changes implemented
joyjos Apr 12, 2024
f479f27
styles modified
joyjos Apr 12, 2024
5c6d11a
Files modified
joyjos Apr 12, 2024
746f61e
data.sql added
joyjos Apr 12, 2024
d7a82b6
Footer component created. LegalPage, privacityPage and CookiesPage added
joyjos Apr 13, 2024
af539a4
NoFoundPage added
joyjos Apr 13, 2024
2602f64
ScrollToTop added
joyjos Apr 13, 2024
c940de9
styles changed
joyjos Apr 14, 2024
fb703ab
Pagination added
joyjos Apr 14, 2024
bf55c65
sorting edited
joyjos Apr 14, 2024
6e95d00
Searcher added
joyjos Apr 14, 2024
07b0496
Admin seacher added
joyjos Apr 14, 2024
1305119
Styles modified
joyjos Apr 14, 2024
b7d142d
Styles added
joyjos Apr 14, 2024
b655942
Searcher modified
joyjos Apr 15, 2024
3219ffd
UpdatePost updated
joyjos Apr 15, 2024
a3faf54
UpdatePost frontend updated
joyjos Apr 15, 2024
70b2b1a
Styles file-upload modified
joyjos Apr 15, 2024
394dc5c
User and role endpoints implemented
joyjos Apr 16, 2024
dc9c21e
UserService modified
joyjos Apr 16, 2024
61b28b5
Register user implemented
joyjos Apr 16, 2024
6d63a92
README.md updated
joyjos Apr 16, 2024
2e8ba1c
Update README.md
joyjos Apr 16, 2024
fc58d8e
Update README.md
joyjos Apr 16, 2024
3e30a39
Update README.md
joyjos Apr 16, 2024
f40c448
Update README.md
joyjos Apr 16, 2024
73c6c5d
Update README.md
joyjos Apr 16, 2024
e6f6393
Update README.md
joyjos Apr 16, 2024
1e10221
Update README.md
joyjos Apr 17, 2024
c3477f4
Update README.md
joyjos Apr 17, 2024
ef30b35
Update README.md
joyjos Apr 17, 2024
3abc936
Update README.md
joyjos Apr 17, 2024
c749dde
README.md updated with endpoints images
joyjos Apr 17, 2024
4e2cd46
Update README.md
joyjos Apr 17, 2024
76e79e6
Merge branch 'main' of https://github.com/FactoriaF5Code/rc2-final-pr…
joyjos Apr 17, 2024
18215e2
README.md updated
joyjos Apr 17, 2024
1ae59eb
README.md updated
joyjos Apr 17, 2024
8b5dffd
Update README.md
joyjos Apr 17, 2024
9b1e5ee
README.md updated
joyjos Apr 17, 2024
08a22a1
Merge branch 'main' of https://github.com/FactoriaF5Code/rc2-final-pr…
joyjos Apr 17, 2024
2fec402
README.md updated
joyjos Apr 17, 2024
7be6d8c
Update README.md
joyjos Apr 17, 2024
2d4393e
README.md updated
joyjos Apr 17, 2024
84f4952
Merge branch 'main' of https://github.com/FactoriaF5Code/rc2-final-pr…
joyjos Apr 17, 2024
442a3aa
Update README.md
joyjos Apr 17, 2024
e91d5fe
Links Login and register pages added
joyjos Apr 17, 2024
430febe
Merge branch 'main' of https://github.com/FactoriaF5Code/rc2-final-pr…
joyjos Apr 17, 2024
405415b
JWT authentication implemented
joyjos Apr 18, 2024
347ce8a
README.md updated
joyjos Apr 18, 2024
9984370
Update README.md
joyjos Apr 18, 2024
cc232f7
Styles updated
joyjos Apr 18, 2024
31514ed
Merge branch 'main' of https://github.com/FactoriaF5Code/rc2-final-pr…
joyjos Apr 18, 2024
8f1c8f0
AuthService and AuthContext implemented
joyjos Apr 18, 2024
7c3ba52
Update README.md
joyjos Apr 18, 2024
f105f82
README.md updated
joyjos Apr 18, 2024
fa839a0
Merge branch 'main' of https://github.com/FactoriaF5Code/rc2-final-pr…
joyjos Apr 18, 2024
e2c2653
Styles updated
joyjos Apr 18, 2024
5b73cf8
Styles modified
joyjos Apr 18, 2024
b0ed840
JWT Authentication settings
joyjos Apr 18, 2024
3e9aa07
Update README.md
joyjos Apr 18, 2024
2bce994
Image deleted
joyjos Apr 18, 2024
26503b1
Merge branch 'main' of https://github.com/FactoriaF5Code/rc2-final-pr…
joyjos Apr 18, 2024
030f427
Styles modified
joyjos Apr 18, 2024
bc0552b
Update README.md
joyjos Apr 23, 2024
3657cbb
Update README.md
joyjos Apr 23, 2024
f12c067
Update README.md
joyjos Apr 23, 2024
3189333
Update README.md
joyjos Apr 23, 2024
0510042
Update README.md
joyjos Apr 24, 2024
b8dea93
Hamburguer menu
joyjos Apr 29, 2024
349daea
Merge branch 'main' of https://github.com/FactoriaF5Code/rc2-final-pr…
joyjos Apr 29, 2024
5106e08
Styles modified
joyjos Apr 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
219 changes: 218 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,218 @@
# rc2-template-proyecto-individual-final
[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-24ddc0f5d75046c5622901739e7c5dd533143b0c8e959d652212380cedb1ea36.svg)](https://classroom.github.com/a/xq5TwZF7)


![JOY SWEETS](https://github.com/FactoriaF5Code/rc2-final-project-joyjos/blob/main/images/JOYSWEETS.png)


# JOY SWEETS :: Dulces Emociones

**JOY SWEETS** es una deliciosa colección de recetas dulces.

En mi aplicación, encontrarás una gran variedad de recetas que he creado con mucho amor y dedicación, para que puedas disfrutar de deliciosos postres en la comodidad de tu hogar.

Desde pasteles, tartas, galletas y mucho más, encontrarás recetas fáciles de seguir y con ingredientes accesibles, para que puedas prepararlas en cualquier momento.

Además, cada receta viene acompañada de pasos detallados, para que puedas seguirlas fácilmente y obtener los mejores resultados.

¡Te espero en **JOY SWEETS**!

# A RESTful API built with Spring Boot consumed by a FrontEnd built in React. JWT Authentication and PostgreSQL

## Table of Content
- [*01 Languages and Technologie*s](#section_01)
- [*02 Requirements*](#section_02)
- [*03 Installation*](#section_03)
- [*04 Architecture*](#section_04)
- [*05 API Endpoints*](#section_05)
- [*06 Screenshots*](#section_06)

<br>

<a id="section_01"></a>
## *01 Languages and Technologies*
### FrontEnd
![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge&logo=html5&logoColor=white)
![CSS3](https://img.shields.io/badge/css3-%231572B6.svg?style=for-the-badge&logo=css3&logoColor=white)
![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E)
![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge&logo=node.js&logoColor=white)
![NPM](https://img.shields.io/badge/npm-CB3837?style=for-the-badge&logo=npm&logoColor=white)
![React](https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge&logo=react&logoColor=%2361DAFB)
![Vite](https://img.shields.io/badge/Vite-B73BFE?style=for-the-badge&logo=vite&logoColor=FFD62E)
![Axios](https://img.shields.io/badge/axios-671ddf?&style=for-the-badge&logo=axios&logoColor=white)
![Bootstrap](https://img.shields.io/badge/bootstrap-%23563D7C.svg?style=for-the-badge&logo=bootstrap&logoColor=white)

### BackEnd
![Java](https://img.shields.io/badge/java-%23ED8B00.svg?style=for-the-badge&logo=openjdk&logoColor=white)
![Spring Boot](https://img.shields.io/badge/Spring_Boot-F2F4F9?style=for-the-badge&logo=spring-boot)
![Hibernate](https://img.shields.io/badge/Hibernate-59666C?style=for-the-badge&logo=Hibernate&logoColor=white)
![PosgreSQL](https://img.shields.io/badge/PostgreSQL-316192?style=for-the-badge&logo=postgresql&logoColor=white)

### Version Control
![Git](https://img.shields.io/badge/git-%23F05033.svg?style=for-the-badge&logo=git&logoColor=white)
![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)
![Markdown](https://img.shields.io/badge/markdown-%23000000.svg?style=for-the-badge&logo=markdown&logoColor=white)

### OtherTools
![VSCode](https://img.shields.io/badge/VSCode-0078D4?style=for-the-badge&logo=visual%20studio%20code&logoColor=white)
![Figma](https://img.shields.io/badge/figma-%23F24E1E.svg?style=for-the-badge&logo=figma&logoColor=white)
![Postman](https://img.shields.io/badge/Postman-FF6C37?style=for-the-badge&logo=Postman&logoColor=white)

<br>

<a id="section_02"></a>
## *02 Requirements*
- Having Java 17 installed
You can download it from [Oracle's website](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
- Having Node.js installed
You can download it from [Node.js's website](https://nodejs.org/en/download/)
- Having PostgreSQL DataBase installed
Install PostgreSQL from [PostgreSQL's website](https://www.postgresql.org/download/)

<br>

<a id="section_03"></a>
## *03 Installation*
### BackEnd
A PostgreSQL database is needed, according to the configuration of `src/main/resources/application.properties`
- Go into the `backend` folder:

~~~
cd backend
~~~
- Build the project using Maven:

~~~
mvn clean install
~~~
- Run the Spring Boot application:

~~~
mvn spring-boot:run
~~~

### FrontEnd
- Go into the `frontend` folder:

~~~
cd frontend
~~~
- Install `node_modules`:

~~~
npm install
~~~

- Run the React application:

~~~
npm run dev
~~~

<br>

<a id="section_04"></a>
## *04 Architecture*
### FrontEnd Folder Structure
<pre>
src
├── admin
│ ├── middleware
│ │ └── router
│ └── presentation
│ ├── components
│ │ ├── Dashboard
│ │ ├── Editor
│ │ ├── Header
│ │ ├── Login
│ │ ├── NewPost
│ │ ├── Post
│ │ ├── Posts
│ │ ├── Register
│ │ └── Sidebar
│ └── pages
│ ├── login
│ └── register
├── helpers
├── middleware
│ ├── context
│ └── router
├── presentation
│ ├── assets
│ │ ├── css
│ │ ├── fonts
│ │ ├── img
│ │ └── js
│ ├── components
│ │ ├── Blog
│ │ ├── Footer
│ │ ├── Header
│ │ ├── Recipe
│ │ ├── Recipes
│ │ └── Searcher
│ └── pages
└── services
</pre>

### BackEnd Folder Structure
<pre>
src
└── main
└── java
└── org
└── factoriaf5
└── backend
├── configuration
├── controllers
│ ├── auth
│ ├── posts
│ └── upload
├── persistence
│ ├── auth
│ └── posts
└── services
└── auth
</pre>

<br>

<a id="section_05"></a>
## *05 API Endpoints*

![JOY SWEETS](https://github.com/FactoriaF5Code/rc2-final-project-joyjos/blob/main/images/Post_endpoints.png)

![JOY SWEETS](https://github.com/FactoriaF5Code/rc2-final-project-joyjos/blob/main/images/User_endpoints.png)

![JOY SWEETS](https://github.com/FactoriaF5Code/rc2-final-project-joyjos/blob/main/images/Login_endpoint.png)

<br>

<a id="section_06"></a>
## *06 Screenshots*

### Home

![JOY SWEETS](https://github.com/FactoriaF5Code/rc2-final-project-joyjos/blob/main/images/home.png)

### Blog

![JOY SWEETS](https://github.com/FactoriaF5Code/rc2-final-project-joyjos/blob/main/images/blog.png)

### Login

![JOY SWEETS](https://github.com/FactoriaF5Code/rc2-final-project-joyjos/blob/main/images/login.png)

### Register

![JOY SWEETS](https://github.com/FactoriaF5Code/rc2-final-project-joyjos/blob/main/images/register.png)

### Dashboard

![JOY SWEETS](https://github.com/FactoriaF5Code/rc2-final-project-joyjos/blob/main/images/dashboard.png)

### Posts

![JOY SWEETS](https://github.com/FactoriaF5Code/rc2-final-project-joyjos/blob/main/images/posts.png)

### Edit posts

![JOY SWEETS](https://github.com/FactoriaF5Code/rc2-final-project-joyjos/blob/main/images/updatePost.png)
34 changes: 34 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

### VS Code ###
.vscode/
uploads
Binary file added backend/.mvn/wrapper/maven-wrapper.jar
Binary file not shown.
2 changes: 2 additions & 0 deletions backend/.mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
Loading