diff --git a/src/main/resources/data.sql b/src/main/resources/data.sql index 439ca31f77ddffe56e637f61db79e9f2373ef918..775be7cd3391a896d9a8914df8399555286351ef 100644 --- a/src/main/resources/data.sql +++ b/src/main/resources/data.sql @@ -83,10 +83,16 @@ INSERT INTO user_roles (user_id, role_id) VALUES (1, 1); -- Insert posts +-- INSERT INTO feed (post_image_url, post_title, post_description, post_time, user_id) VALUES +-- ('uploads/36b2c38d-c9d5-4e14-a433-895a565d3abf_steve-johnson-D7AuHpLxLPA-unsplash.jpg', 'Dynamic Art', '', '2024-12-07', 1), +-- ('uploads/5720f047-a3ca-4d4e-ab20-343aae7cc485_premium_photo-1733514691627-e62171fc052c.avif', 'Pots', 'Description for post 2', '2024-12-07', 2), +-- ('uploads/d0753820-30b3-429c-92c4-d82c910ba083_nicolas-jehly-0UU9-_1EMvM-unsplash.jpg', 'Beach Day', 'Description for post 3', '2024-12-07', 3); + INSERT INTO feed (post_image_url, post_title, post_description, post_time, user_id) VALUES - ('uploads/36b2c38d-c9d5-4e14-a433-895a565d3abf_steve-johnson-D7AuHpLxLPA-unsplash.jpg', 'Post 1', 'Description for post 1', '2024-12-07', 1), - ('uploads/5720f047-a3ca-4d4e-ab20-343aae7cc485_premium_photo-1733514691627-e62171fc052c.avif', 'Post 2', 'Description for post 2', '2024-12-07', 2), - ('uploads/d0753820-30b3-429c-92c4-d82c910ba083_nicolas-jehly-0UU9-_1EMvM-unsplash.jpg', 'Post 3', 'Description for post 3', '2024-12-07', 3); +('uploads/36b2c38d-c9d5-4e14-a433-895a565d3abf_steve-johnson-D7AuHpLxLPA-unsplash.jpg', 'Dynamic Art', 'A captivating blend of colors and shapes, showcasing modern artistic expression.', '2024-12-07', 1), +('uploads/5720f047-a3ca-4d4e-ab20-343aae7cc485_premium_photo-1733514691627-e62171fc052c.avif', 'Pots', 'Description for post 2', '2024-12-07', 2), +('uploads/d0753820-30b3-429c-92c4-d82c910ba083_nicolas-jehly-0UU9-_1EMvM-unsplash.jpg', 'Beach Day', 'Description for post 3', '2024-12-07', 3); + -- Insert tags INSERT INTO tags (tag_name) VALUES @@ -111,29 +117,71 @@ INSERT INTO post_likes (post_id, user_id) VALUES (2, 2), (2, 4); -insert into event (event_title, event_description, location, event_date, event_time,user_id, event_poster_url,whyJoin,benefits) -values ('Science Fair', 'Students explore through the science fair', 'Cardiff', current_date,current_time, 1, 'https://marketplace.canva.com/EAE53TNAVD8/1/0/1131w/canva-event-present-science-fair-promotion-poster-1abqT-GiCNQ.jpg','Participating in the Science Fair offers you a unique opportunity to dive deep into the world of science, innovation, and discovery. Whether you''re a student eager to showcase your scientific knowledge or an individual with a passion for learning, this event is the perfect platform to fuel your curiosity. Here’s why you should join: -Engage with Innovative Ideas: Explore cutting-edge scientific projects that challenge the status quo and inspire new ways of thinking. -Collaborate with Like-Minded Individuals: Meet fellow science enthusiasts, students, and professionals who share your interests and passion for discovery. -Boost Your Critical Thinking: Through the process of research, experimentation, and presentation, you’ll develop critical problem-solving skills that are invaluable in any field. -Expand Your Knowledge: Learn about new technologies, scientific theories, and groundbreaking advancements that will shape the future of science and innovation. -Be a Part of a Larger Community: Join a global community of science advocates and future scientists, making valuable connections that could open doors to future opportunities.', 'Hands-On Experience: Gain practical, hands-on experience in the scientific method, from research and hypothesis testing to data analysis and presentation. -Develop Presentation Skills: Sharpen your ability to communicate complex scientific concepts in an engaging and accessible way, an essential skill for any future career. -Exposure to Career Opportunities: Connect with professionals in science, education, and industry, opening up potential career pathways, internships, and scholarships. -Recognition and Prizes: Stand a chance to win awards and gain recognition for your hard work and creativity. Whether you’re awarded for your innovation, research, or presentation, your efforts will be acknowledged. -Confidence Building: Presenting your work to peers, teachers, and judges builds confidence in your abilities and boosts self-esteem, allowing you to grow as both a scientist and an individual. -Inspire Future Projects: Your participation could spark new ideas and motivate others to start their own scientific endeavors, contributing to a culture of curiosity and learning. -Stay Ahead of the Curve: By participating, you gain knowledge about the latest trends in science and technology, giving you an edge in academic and professional fields. -By joining this science fair, you are not only enriching your own learning experience but also contributing to a vibrant community of innovators and explorers.'); -insert into event (event_title, event_description, location, event_date, event_time,user_id, event_poster_url,whyJoin,benefits) -values ('Games Fair', 'Gamers explore through the game fair', 'Bristol', current_date,current_time, 1, 'https://d1csarkz8obe9u.cloudfront.net/posterpreviews/game-event-poster-template-c54aaeed440befaacf79e6dd35deb8f5_screen.jpg?ts=1486132851','Abc', 'Def'); -insert into event (event_title, event_description, location, event_date, event_time,user_id, event_poster_url,whyJoin,benefits) -values ('Bikes Fair', 'Riders explore through the Ride fair', 'Newport', current_date,current_time, 1, 'https://d1csarkz8obe9u.cloudfront.net/posterpreviews/bike-fest-poster-design-template-fb1cc1ab4b2aee783f8ee75476c4c92d_screen.jpg?ts=1637012682','Abc', 'Def'); -insert into event (event_title, event_description, location, event_date, event_time,user_id, event_poster_url) -values ('Bikes Fair', 'Riders explore through the Ride fair', 'Newport', current_date,current_time, 1, 'https://d1csarkz8obe9u.cloudfront.net/posterpreviews/bike-fest-poster-design-template-fb1cc1ab4b2aee783f8ee75476c4c92d_screen.jpg?ts=1637012682'); -insert into event (event_title, event_description, location, event_date, event_time,user_id, event_poster_url) -values ('Bikes Fair', 'Riders explore through the Ride fair', 'Newport', current_date,current_time, 1, 'https://d1csarkz8obe9u.cloudfront.net/posterpreviews/bike-fest-poster-design-template-fb1cc1ab4b2aee783f8ee75476c4c92d_screen.jpg?ts=1637012682'); -insert into event (event_title, event_description, location, event_date, event_time,user_id, event_poster_url) -values ('Bikes Fair', 'Riders explore through the Ride fair', 'Newport', current_date,current_time, 1, 'https://d1csarkz8obe9u.cloudfront.net/posterpreviews/bike-fest-poster-design-template-fb1cc1ab4b2aee783f8ee75476c4c92d_screen.jpg?ts=1637012682'); -insert into event (event_title, event_description, location, event_date, event_time,user_id, event_poster_url) -values ('Bikes Fair', 'Riders explore through the Ride fair', 'Newport', current_date,current_time, 1, 'https://d1csarkz8obe9u.cloudfront.net/posterpreviews/bike-fest-poster-design-template-fb1cc1ab4b2aee783f8ee75476c4c92d_screen.jpg?ts='); +-- insert into event (event_title, event_description, location, event_date, event_time,user_id, event_poster_url,whyJoin,benefits) +-- values ('Science Fair', 'Students explore through the science fair', 'Cardiff', current_date,current_time, 1, 'https://marketplace.canva.com/EAE53TNAVD8/1/0/1131w/canva-event-present-science-fair-promotion-poster-1abqT-GiCNQ.jpg','Participating in the Science Fair offers you a unique opportunity to dive deep into the world of science, innovation, and discovery. Whether you''re a student eager to showcase your scientific knowledge or an individual with a passion for learning, this event is the perfect platform to fuel your curiosity. Here’s why you should join: +-- Engage with Innovative Ideas: Explore cutting-edge scientific projects that challenge the status quo and inspire new ways of thinking. +-- Collaborate with Like-Minded Individuals: Meet fellow science enthusiasts, students, and professionals who share your interests and passion for discovery. +-- Boost Your Critical Thinking: Through the process of research, experimentation, and presentation, you’ll develop critical problem-solving skills that are invaluable in any field. +-- Expand Your Knowledge: Learn about new technologies, scientific theories, and groundbreaking advancements that will shape the future of science and innovation. +-- Be a Part of a Larger Community: Join a global community of science advocates and future scientists, making valuable connections that could open doors to future opportunities.', 'Hands-On Experience: Gain practical, hands-on experience in the scientific method, from research and hypothesis testing to data analysis and presentation. +-- Develop Presentation Skills: Sharpen your ability to communicate complex scientific concepts in an engaging and accessible way, an essential skill for any future career. +-- Exposure to Career Opportunities: Connect with professionals in science, education, and industry, opening up potential career pathways, internships, and scholarships. +-- Recognition and Prizes: Stand a chance to win awards and gain recognition for your hard work and creativity. Whether you’re awarded for your innovation, research, or presentation, your efforts will be acknowledged. +-- Confidence Building: Presenting your work to peers, teachers, and judges builds confidence in your abilities and boosts self-esteem, allowing you to grow as both a scientist and an individual. +-- Inspire Future Projects: Your participation could spark new ideas and motivate others to start their own scientific endeavors, contributing to a culture of curiosity and learning. +-- Stay Ahead of the Curve: By participating, you gain knowledge about the latest trends in science and technology, giving you an edge in academic and professional fields. +-- By joining this science fair, you are not only enriching your own learning experience but also contributing to a vibrant community of innovators and explorers.'); +-- insert into event (event_title, event_description, location, event_date, event_time,user_id, event_poster_url,whyJoin,benefits) +-- values ('Games Fair', 'Gamers explore through the game fair', 'Bristol', current_date,current_time, 1, 'https://d1csarkz8obe9u.cloudfront.net/posterpreviews/game-event-poster-template-c54aaeed440befaacf79e6dd35deb8f5_screen.jpg?ts=1486132851','Abc', 'Def'); +-- insert into event (event_title, event_description, location, event_date, event_time,user_id, event_poster_url,whyJoin,benefits) +-- values ('Bikes Fair', 'Riders explore through the Ride fair', 'Newport', current_date,current_time, 1, 'https://d1csarkz8obe9u.cloudfront.net/posterpreviews/bike-fest-poster-design-template-fb1cc1ab4b2aee783f8ee75476c4c92d_screen.jpg?ts=1637012682','Abc', 'Def'); +-- insert into event (event_title, event_description, location, event_date, event_time,user_id, event_poster_url) +-- values ('Bikes Fair', 'Riders explore through the Ride fair', 'Newport', current_date,current_time, 1, 'https://d1csarkz8obe9u.cloudfront.net/posterpreviews/bike-fest-poster-design-template-fb1cc1ab4b2aee783f8ee75476c4c92d_screen.jpg?ts=1637012682'); +-- insert into event (event_title, event_description, location, event_date, event_time,user_id, event_poster_url) +-- values ('Bikes Fair', 'Riders explore through the Ride fair', 'Newport', current_date,current_time, 1, 'https://d1csarkz8obe9u.cloudfront.net/posterpreviews/bike-fest-poster-design-template-fb1cc1ab4b2aee783f8ee75476c4c92d_screen.jpg?ts=1637012682'); +-- insert into event (event_title, event_description, location, event_date, event_time,user_id, event_poster_url) +-- values ('Bikes Fair', 'Riders explore through the Ride fair', 'Newport', current_date,current_time, 1, 'https://d1csarkz8obe9u.cloudfront.net/posterpreviews/bike-fest-poster-design-template-fb1cc1ab4b2aee783f8ee75476c4c92d_screen.jpg?ts=1637012682'); +-- insert into event (event_title, event_description, location, event_date, event_time,user_id, event_poster_url) +-- values ('Bikes Fair', 'Riders explore through the Ride fair', 'Newport', current_date,current_time, 1, 'https://d1csarkz8obe9u.cloudfront.net/posterpreviews/bike-fest-poster-design-template-fb1cc1ab4b2aee783f8ee75476c4c92d_screen.jpg?ts='); + +INSERT INTO event (event_title, event_description, location, event_date, event_time, user_id, event_poster_url, whyJoin, benefits) +VALUES + ('Polish Cultural Festival', + 'A celebration of Polish traditions, music, and cuisine. Experience the rich cultural heritage of Poland in an engaging and festive environment.', + 'Cardiff', + '2025-03-15', + '15:00', + 1, + 'https://archive.smashing.media/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/462f4808-8ae9-43e6-95b3-d74452c13685/czajkowski-1wystawa.jpg', + 'Celebrate Polish traditions with a diverse group of people who share a passion for Polish heritage. Enjoy delicious food, music, and traditional dances.', + 'Cultural exchange, networking, and a memorable experience filled with entertainment and learning.'), + + ('Polish Film Night', + 'Watch iconic Polish films and discuss the cultural and artistic elements behind them.', + 'Bristol', + '2025-04-20', + '18:30', + 1, + 'https://images.squarespace-cdn.com/content/v1/5bd8e569506fbe6dc72c84b9/1579304578492-7QC023N2JJCNACZ949YV/LADY%2BSTICKING%2BUP%2BPOSTERS.jpg?format=2500w', + 'Join to explore the depth of Polish cinema, understand cultural narratives, and enjoy a night of artistic storytelling.', + 'Inspiration from masterpieces, networking with film enthusiasts, and an engaging cultural experience.'), + + ('Polish History Exhibition', + 'An exhibition showcasing Poland’s historical journey, including artifacts, photographs, and stories.', + 'Newport', + '2025-05-05', + '10:00', + 1, + 'https://images.unsplash.com/photo-1473163928189-364b2c4e1135?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D', + 'Dive into the fascinating history of Poland and understand its influence on the world.', + 'Gain historical insights, appreciation for heritage, and connect with like-minded history enthusiasts.'), + + ('Traditional Polish Cooking Workshop', + 'Learn to cook authentic Polish dishes like pierogi and bigos with expert chefs.', + 'Swansea', + '2025-06-12', + '14:00', + 1, + 'https://plus.unsplash.com/premium_photo-1691837115446-51a333c1941b?q=80&w=1887&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D', + 'Join this hands-on workshop to master traditional Polish recipes and enjoy a fun culinary experience.', + 'Learn new cooking skills, enjoy delicious food, and make new friends who share your passion for Polish cuisine.') diff --git a/uploads/344fa776-e64f-4e5a-9e17-a25d83d18bd3_md-shahjalal-jomodder-foTBpnC2Bvw-unsplash.jpg b/uploads/344fa776-e64f-4e5a-9e17-a25d83d18bd3_md-shahjalal-jomodder-foTBpnC2Bvw-unsplash.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1929e46ff60d1a1578650f06c569bf7d0f7327e9 Binary files /dev/null and b/uploads/344fa776-e64f-4e5a-9e17-a25d83d18bd3_md-shahjalal-jomodder-foTBpnC2Bvw-unsplash.jpg differ