Help Needed: Integrating Laravel with Next.js for University E-commerce Project

RMAG news

Hey Dev Community!

I’m currently working on a university project where we are tasked with building an e-commerce site. Initially, we decided to use Next.js due to its modern features and React-based framework. However, our lecturer recently informed us that using PHP is a must for this project. After some discussion, we decided to integrate Laravel with our Next.js front end.and we are planing to add Clerk Auth as Authentication.

Here’s the challenge: While we have some programming knowledge, we’re pretty new to both Laravel and Next.js. We would greatly appreciate any guidance or resources you can share to help us successfully complete this project.(We dont have time to master them , just the parts we need to this project)

What We’ve Done So Far:

Project Planning: We have outlined the features we want for our e-commerce site such as user authentication, product listing, cart functionality, and payment integration.
Initial Setup: We’ve started setting up our development environment for Next.js but haven’t begun with Laravel yet.
UI Design

What We Need Help With:

Setting Up Laravel Backend: How do we properly install and configure Laravel for our project?
Database Design: Any tips on planning our database schema for an e-commerce application?
API Development: How to create APIs in Laravel that our Next.js front end can consume?
Integration with Next.js: Best practices for integrating a Laravel backend with a Next.js frontend.
Deployment: Guidance on deploying our application to a production environment.
Why We Chose This Stack:
Next.js: For its excellent SSR capabilities and modern React-based architecture.
Laravel: Due to its robust MVC structure and powerful features for backend development.
Our Team:
We’re a group of university students eager to learn and build something meaningful. We have some experience in programming but are novices when it comes to building a full-stack application with Laravel and Next.js.

If you have any tutorials, articles, or personal advice, we’d love to hear from you! Your support can make a huge difference in our learning journey.

Thanks in advance for your help!