Skip to content

Commit cf5a10f

Browse files
committed
target folder
1 parent 6d2d919 commit cf5a10f

File tree

66 files changed

+309
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+309
-4
lines changed

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
HELP.md
2-
target/
3-
!.mvn/wrapper/maven-wrapper.jar
4-
!**/src/main/**/target/
5-
!**/src/test/**/target/
62

73
### STS ###
84
.apt_generated

target/backend-1.0.1.jar

51.3 MB
Binary file not shown.

target/backend-1.0.1.jar.original

78.8 KB
Binary file not shown.

target/classes/application-local.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
server:
2+
port: 8080
3+
spring:
4+
datasource:
5+
url: jdbc:postgresql://localhost:5432/acm
6+
username: acmsecy
7+
password: acmheads
8+
driver-class-name: org.postgresql.Driver
9+
jpa:
10+
hibernate:
11+
ddl-auto: update
12+
properties:
13+
hibernate:
14+
format_sql: true
15+
show-sql: true
16+
use_sql_comments: true
17+
database-platform: org.hibernate.dialect.PostgreSQLDialect
18+
mail:
19+
host: smtp.gmail.com
20+
port: 587
21+
username: your_email
22+
password: your_app_password
23+
properties:
24+
mail:
25+
smtp:
26+
auth: true
27+
starttls:
28+
enable: true
29+
30+
verify:
31+
base:
32+
frontend: http://localhost:3000/

target/classes/application.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
server:
2+
port: 8080
3+
error:
4+
include-message: always
5+
ssl:
6+
enabled: false
7+
enabled-protocols: TLSv1.2
8+
servlet:
9+
session:
10+
cookie:
11+
secure: true
12+
http-only: true
13+
tomcat:
14+
accesslog:
15+
request-attributes-enabled: true
16+
17+
spring:
18+
datasource:
19+
url: ${POSTGRESQL_DB_URL}
20+
username: ${POSTGRESQL_DB_USER}
21+
password: ${POSTGRESQL_DB_PASSWORD}
22+
hikari:
23+
connectionTimeout: 10000
24+
maximumPoolSize: 5
25+
driverClassName: org.postgresql.Driver
26+
27+
jpa:
28+
hibernate:
29+
ddl-auto: update
30+
properties:
31+
hibernate:
32+
format_sql: true
33+
show-sql: true
34+
use_sql_comments: true
35+
database-platform: org.hibernate.dialect.PostgreSQLDialect
36+
37+
mail:
38+
host: smtp.gmail.com
39+
port: 587
40+
username: ${SMTP_EMAIL}
41+
password: ${SMTP_PASSWORD}
42+
properties:
43+
mail:
44+
smtp:
45+
auth: true
46+
starttls:
47+
enable: true
48+
required: true
49+
jwt:
50+
secret: nyanpasu
51+
verify:
52+
base:
53+
frontend: https://pecacm.com/
54+
55+
logging:
56+
file:
57+
name: /pecacm/logs/backend.log
58+
pattern:
59+
console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"
60+
level:
61+
org.springframework: INFO
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

target/classes/data.sql

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
--
2+
-- PostgreSQL database dump
3+
--
4+
5+
-- Dumped from database version 15.3 (Debian 15.3-1.pgdg120+1)
6+
-- Dumped by pg_dump version 15.3 (Debian 15.3-1.pgdg120+1)
7+
8+
SET statement_timeout = 0;
9+
SET lock_timeout = 0;
10+
SET idle_in_transaction_session_timeout = 0;
11+
SET client_encoding = 'UTF8';
12+
SET standard_conforming_strings = on;
13+
SELECT pg_catalog.set_config('search_path', '', false);
14+
SET check_function_bodies = false;
15+
SET xmloption = content;
16+
SET client_min_messages = warning;
17+
SET row_security = off;
18+
19+
--
20+
-- Data for Name: events; Type: TABLE DATA; Schema: public; Owner: acmsecy
21+
--
22+
23+
-- COPY public.events (id, branch, description, end_date, ended, related_link, start_date, title, venue) FROM stdin;
24+
-- 3 WIT string 2023-10-29 13:09:12.677 f string 2023-10-28 13:09:12.677 Women in Tech string
25+
-- 1 DEVELOPMENT string 2023-11-03 13:09:12.677 t string 2023-11-01 13:09:12.677 Ideathon 3.0 string
26+
-- 2 AI string 2023-10-31 13:09:12.677 t string 2023-10-30 13:09:12.677 Kaggle challenge 3.0 string
27+
-- \.
28+
29+
INSERT INTO public.events (id, branch, description, end_date, ended, related_link, start_date, title, venue)
30+
VALUES (3, 'WIT', 'string', '2023-10-29 13:09:12.677', 'f', 'string', '2023-10-28 13:09:12.677', 'Women in Tech',
31+
'string');
32+
INSERT INTO public.events (id, branch, description, end_date, ended, related_link, start_date, title, venue)
33+
VALUES (1, 'DEVELOPMENT', 'string', '2023-11-03 13:09:12.677', 't', 'string', '2023-11-01 13:09:12.677', 'Ideathon 3.0',
34+
'string');
35+
INSERT INTO public.events (id, branch, description, end_date, ended, related_link, start_date, title, venue)
36+
VALUES (2, 'AI', 'string', '2023-10-31 13:09:12.677', 't', 'string', '2023-10-30 13:09:12.677', 'Kaggle challenge 3.0',
37+
'string');
38+
39+
40+
41+
--
42+
-- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: acmsecy
43+
--
44+
45+
-- COPY public.users (id, batch, branch, designation, display_picture, email, name, password, student_id, verified,
46+
-- xp_total) FROM stdin;
47+
-- 2 2024 CSE Member \N [email protected] Manjot Singh Oberoi $2a$10$flz6mYi4mo1RCw4YgheMRO5T90yNPQujsDaZ.6pCM2W4Il2uX9REm 20103075 f 1
48+
-- 1 2024 CSE Admin \N [email protected] Harshpreet Singh Johar $2a$10$d/mEUVISoHIQumX3MZE2iuWbhtqIlCuW5xIEw9vxEuIbWx/TMfcWO 20103076 t 10
49+
-- \.
50+
51+
INSERT INTO public.users (id, batch, branch, designation, display_picture, email, name, password, student_id, verified,
52+
xp_total)
53+
VALUES (2, 2024, 'CSE', 'Member', NULL, '[email protected]', 'Manjot Singh Oberoi',
54+
'$2a$10$flz6mYi4mo1RCw4YgheMRO5T90yNPQujsDaZ.6pCM2W4Il2uX9REm', 20103075, 'f', 1);
55+
INSERT INTO public.users (id, batch, branch, designation, display_picture, email, name, password, student_id, verified,
56+
xp_total)
57+
VALUES (1, 2024, 'CSE', 'Admin', NULL, '[email protected]', 'Harshpreet Singh Johar',
58+
'$2a$10$d/mEUVISoHIQumX3MZE2iuWbhtqIlCuW5xIEw9vxEuIbWx/TMfcWO', 20103076, 't', 10);
59+
60+
--
61+
-- Data for Name: transactions; Type: TABLE DATA; Schema: public; Owner: acmsecy
62+
--
63+
64+
-- COPY public.transactions (id, date, role, xp_awarded, event_id, user_id) FROM stdin;
65+
-- 1 2023-11-01 18:49:48.881507 ORGANIZER 5 1 1
66+
-- 2 2023-11-01 18:49:48.881551 PARTICIPANT 1 1 2
67+
-- 3 2023-11-01 18:50:24.607074 ORGANIZER 5 2 1
68+
-- \.
69+
INSERT INTO public.transactions (id, date, role, xp_awarded, event_id, user_id)
70+
VALUES (1, '2023-11-01 18:49:48.881507', 'ORGANIZER', 5, 1, 1);
71+
INSERT INTO public.transactions (id, date, role, xp_awarded, event_id, user_id)
72+
VALUES (2, '2023-11-01 18:49:48.881551', 'PARTICIPANT', 1, 1, 2);
73+
INSERT INTO public.transactions (id, date, role, xp_awarded, event_id, user_id)
74+
VALUES (3, '2023-11-01 18:50:24.607074', 'ORGANIZER', 5, 2, 1);
75+
76+
77+
--
78+
-- Data for Name: verification_token; Type: TABLE DATA; Schema: public; Owner: acmsecy
79+
--
80+
81+
-- COPY public.verification_token (token, created_date, id) FROM stdin;
82+
-- 564add94-f324-4d99-8fec-a825e656d04e 2023-11-01 18:46:23.322393 2
83+
-- \.
84+
INSERT INTO public.verification_token (token, created_date, id)
85+
VALUES ('564add94-f324-4d99-8fec-a825e656d04e', '2023-11-01 18:46:23.322393', 2);
86+
87+
88+
--
89+
-- Name: events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: acmsecy
90+
--
91+
92+
SELECT pg_catalog.setval('public.events_id_seq', 3, true);
93+
94+
95+
--
96+
-- Name: transactions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: acmsecy
97+
--
98+
99+
SELECT pg_catalog.setval('public.transactions_id_seq', 3, true);
100+
101+
102+
--
103+
-- Name: users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: acmsecy
104+
--
105+
106+
SELECT pg_catalog.setval('public.users_id_seq', 2, true);
107+
108+
109+
--
110+
-- PostgreSQL database dump complete
111+
--

target/maven-archiver/pom.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
artifactId=backend
2+
groupId=com.pecacm
3+
version=1.0.1
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
com\pecacm\backend\constants\ErrorConstants.class
2+
com\pecacm\backend\response\SupportEventResponse.class
3+
com\pecacm\backend\model\EndEventDetails$1.class
4+
com\pecacm\backend\entities\Transaction$TransactionBuilder.class
5+
com\pecacm\backend\entities\VerificationToken.class
6+
com\pecacm\backend\model\EndEventDetails$EndEventDetailsBuilder.class
7+
com\pecacm\backend\enums\Role.class
8+
com\pecacm\backend\response\RegisterResponse.class
9+
com\pecacm\backend\services\EventService$1.class
10+
com\pecacm\backend\model\AuthenticationRequest.class
11+
com\pecacm\backend\configuration\MyWebMvcConfigurer.class
12+
com\pecacm\backend\constants\Constants.class
13+
com\pecacm\backend\services\EventService.class
14+
com\pecacm\backend\util\LoggingInterceptor.class
15+
com\pecacm\backend\configuration\CorsConfig$1.class
16+
com\pecacm\backend\model\AssignRoleRequest.class
17+
com\pecacm\backend\BackendApplication.class
18+
com\pecacm\backend\response\UserEventDetails.class
19+
com\pecacm\backend\repository\VerificationTokenRepository.class
20+
com\pecacm\backend\enums\Branch.class
21+
com\pecacm\backend\response\AuthenticationResponse.class
22+
com\pecacm\backend\response\ErrorResponse.class
23+
com\pecacm\backend\exception\AcmException.class
24+
com\pecacm\backend\response\SupportUserResponse.class
25+
com\pecacm\backend\configuration\CorsConfig.class
26+
com\pecacm\backend\filters\SimpleCORSFilter.class
27+
com\pecacm\backend\entities\Event.class
28+
com\pecacm\backend\response\EventUserDetails.class
29+
com\pecacm\backend\controllers\HealthController.class
30+
com\pecacm\backend\response\EventAttendeesResponse.class
31+
com\pecacm\backend\controllers\EventsController.class
32+
com\pecacm\backend\services\EmailService.class
33+
com\pecacm\backend\model\EmailRequest.class
34+
com\pecacm\backend\enums\EventRole.class
35+
com\pecacm\backend\controllers\SupportController.class
36+
com\pecacm\backend\services\JwtService.class
37+
com\pecacm\backend\entities\User$UserBuilder.class
38+
com\pecacm\backend\exception\ExceptionResponseHandler.class
39+
com\pecacm\backend\controllers\EmailController.class
40+
com\pecacm\backend\entities\User.class
41+
com\pecacm\backend\entities\Transaction.class
42+
com\pecacm\backend\model\EndEventDetails.class
43+
com\pecacm\backend\model\EndEventSidDetails.class
44+
com\pecacm\backend\repository\EventRepository.class
45+
com\pecacm\backend\controllers\UserController.class
46+
com\pecacm\backend\entities\VerificationToken$VerificationTokenBuilder.class
47+
com\pecacm\backend\filters\JwtFilter.class
48+
com\pecacm\backend\repository\UserRepository.class
49+
com\pecacm\backend\repository\TransactionRepository.class
50+
com\pecacm\backend\configuration\SecurityConfiguration.class
51+
com\pecacm\backend\entities\Event$EventBuilder.class
52+
com\pecacm\backend\services\UserService.class
53+
com\pecacm\backend\services\SupportService.class
54+
com\pecacm\backend\services\VerificationService.class
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\model\EndEventSidDetails.java
2+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\configuration\SecurityConfiguration.java
3+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\services\SupportService.java
4+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\enums\EventRole.java
5+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\services\JwtService.java
6+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\services\UserService.java
7+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\model\EmailRequest.java
8+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\enums\Branch.java
9+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\repository\TransactionRepository.java
10+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\response\AuthenticationResponse.java
11+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\entities\Transaction.java
12+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\entities\User.java
13+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\repository\EventRepository.java
14+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\response\SupportEventResponse.java
15+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\controllers\EventsController.java
16+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\entities\Event.java
17+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\util\LoggingInterceptor.java
18+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\exception\ExceptionResponseHandler.java
19+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\constants\ErrorConstants.java
20+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\filters\JwtFilter.java
21+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\response\RegisterResponse.java
22+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\model\EndEventDetails.java
23+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\services\EmailService.java
24+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\configuration\MyWebMvcConfigurer.java
25+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\BackendApplication.java
26+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\controllers\SupportController.java
27+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\services\EventService.java
28+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\configuration\CorsConfig.java
29+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\controllers\EmailController.java
30+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\response\UserEventDetails.java
31+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\services\VerificationService.java
32+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\exception\AcmException.java
33+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\constants\Constants.java
34+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\filters\SimpleCORSFilter.java
35+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\entities\VerificationToken.java
36+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\response\ErrorResponse.java
37+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\response\EventAttendeesResponse.java
38+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\repository\VerificationTokenRepository.java
39+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\response\SupportUserResponse.java
40+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\repository\UserRepository.java
41+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\controllers\HealthController.java
42+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\controllers\UserController.java
43+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\response\EventUserDetails.java
44+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\model\AssignRoleRequest.java
45+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\model\AuthenticationRequest.java
46+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\main\java\com\pecacm\backend\enums\Role.java
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
com\pecacm\backend\BackendApplicationTests.class
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
C:\Users\sunpr\OneDrive\Desktop\PEC ACM\backend\acm-website-backend\src\test\java\com\pecacm\backend\BackendApplicationTests.java
Binary file not shown.

0 commit comments

Comments
 (0)