Artificial Intelligence Blogs Posts
cancel
Showing results for 
Search instead for 
Did you mean: 

This is part of the August Developer Challenge on Joule Studio.

SAP and Vercel have partnered to enable developers to build lightning-fast, modern frontends (using React and Next.js) for enterprise applications and AI agents, while securely connecting to SAP’s robust backend infrastructure in the newly announced Joule Studio. Vercel will become available within Joule Studio to give developers an unparalleled choice for custom frontend design. Hence, now let’s understand what Vercel, Next.js and v0 are, how they are connected to each other, and how they relate to the new Joule Studio. 

image.png

 I. Next.js: 

Next.js is a React framework for building full-stack web applications. Created by Vercel, this framework takes the power of React.js which is a popular library for building dynamic user interfaces, and supercharges it with features like server-side rendering (SSR), static site generation (SSG), and a built-in routing system, all out of the box. Developers can rapidly build highly flexible, custom web interfaces using popular frameworks like Next.js using the new Joule Studio platform. 

Let's create a new Next.js app from scratch to see it in action: 

1. System requirements: 

  • Minimum Node.js version: 20.9, install from here: https://nodejs.org/en/download . Check with node –v  command on your terminal to see the current node version installed.
  • Operating systems: macOS, Windows or Linux 
  • Git installed 
  • VS Code or another code editor with integrated terminal or a standalone terminal such as PowerShell on Windows or Terminal App/iTerm on Mac OS 
  • A GitHub Account 

2. Run these commands one by one on the terminal: 

npx create-next-app@latest business-card-app --yes 
cd business-card-app 
npm run dev 

npx is a powerful tool bundled with Node.js that executes JavaScript packages directly from the registry without requiring you to install them globally 

create-next-app is the official command-line interface (CLI) tool used to instantly bootstrap and set up a new Next.js application 

npm is a command-line tool used by developers to install, share, and manage project dependencies. It is automatically installed whenever you download Node.js. 

--yes skips prompts using saved preferences or defaults. The default setup enables TypeScript, Tailwind CSS, ESLint, App Router, and Turbopack. 

3. Open the project folder in VS Code and observe the folder structure (app, public folders): Next.js uses file-system based routing, meaning you can use folders and files to define routes. 

  • View the code in the layout.tsx file contents in the app folder 
  • View the code in the page.tsx file contents in the app folder 
  • View the package.json file contents at the root level 

 A .tsx file is a TypeScript source file that contains JSX, an XML-like  syntax used to describe UI in React.  

 4. Replace the contents of the page.tsx with the below content 

5. In the newly updated page.tsx code, scroll to the bottom of the file. 

  • Search for type="hidden" within the form tag in the page.tsxReplace the hidden values for communityId with your SAP Community username by updating the value attribute
  • Replace the value attributes: 
    • communityId: your SAP Community username 
    • answer: your answer to the below question (one word answer)
    • week: keep as "week4" 

S-User, P-User, the email associated with SAP Community portal are not valid Community Ids. To get your SAP Community Id, follow the instructions as per the screenshot below. 

community_id.png

Question: When frameworks use server-side rendering, the server delivers raw, non-interactive HTML to the browser. Name the process that attaches event listeners to this static HTML inside the browser to make the page interactive. 

  • View the business-card-app at the http://localhost:3000 url 
  • Stop the local development server by pressing Ctrl+C (Mac/Windows/Linux) in the terminal before continuing to the next steps. 

 6. Commit and push these changes to your GitHub repository. In the next step, we shall deploy this app to Vercel.  

II. Vercel 

Vercel is a cloud platform for developers that provides the infrastructure to host, build, and deploy web applications instantly. You can easily link your GitHub repository to Vercel and deploy those GitHub projects. Once deployed, you can view your site/app from a live URL hosted on the Vercel platform. 

1. Sign up to the Vercel platform from https://vercel.com/signup 

shrinivasan_neelamegam_0-1784808862746.png

2. Choose the Continue with GitHub option and use the same GitHub account that you pushed your repository to in the previous step. Once logged in, add a new project using the Add New option in the top right corner. 

shrinivasan_neelamegam_1-1784808862746.png

Here is a short video showing how to link your GitHub repository to Vercel https://www.youtube.com/watch?v=GthkPo8xFqQ 

3. Your newly created GitHub repository is available for import to Vercel. Click on Import. 

shrinivasan_neelamegam_2-1784808862746.png

4. Expand the Environment variables and provide the CAP_SERVICE_URL as 

https://community-challenge.cfapps.us10.hana.ondemand.com and Click Deploy. 

shrinivasan_neelamegam_3-1784808862746.png

5. It only takes a few minutes to deploy your app. You could notice how easily you were able to deploy an app to Vercel. As soon as it is deployed, your site is live. You will be able to view your business card app with a URL unique to your deployment. 

shrinivasan_neelamegam_4-1784808862747.png

6a: Test Your Deployment (Required) 

  1. Launch your Vercel URL in a browser 
  2. Click the SAP Community button to submit your Week 4 answer 
  3. You should see a success message confirming submission 
  4. Post a comment on this blog post with: 
    • A screenshot showing your deployed business-card-app URL in browser 

6b: Enhance Your Card (Optional ) 

Want to customize further? Edit lines in page.tsx containing: 

  • Your name and title 

Commit and push to GitHub. Vercel auto-deploys changes in less than 2 minutes. Refresh your Vercel URL to see updates. 

7. Add a comment answering at least 2 of these: 

  • Ease of use: How smooth was Next.js setup and Vercel deployment? 
  • Pain points: Where did you get stuck or confused? 
  • Comparison: Do you use React/Vue/Angular or Netlify/AWS Amplify or some other tool that does something similar? How does this compare? 
  • Future use: Would you use Next.js + Vercel for your projects? Why/why not? 

III. v0 in Vercel 

v0 empowers anyone to build functional web applications faster without writing code manually. v0 generates production-ready UI components and frontend code, utilizing a modern web stack that includes Next.js, React architecture, Tailwind CSS, shadcn/ui, and the Vercel AI SDK. The code generated is ready to be deployed on the Vercel's globally scalable infrastructure. 

What is Vercel's relationship with v0?  

Vercel created v0 and provides the underlying infrastructure. This deep integration enables one-click deployment to enterprise-grade infrastructure, adhering to compliance, strong security, and global scalability. v0's code is optimized for the Vercel platform, ensuring a smooth path from idea to production.  

In the first Next.js exercise, you manually created the app and updated the page.tsx with the code provided in the exercise. You would further enhance the pages by editing the code manually without v0.  

With v0, you will be able to provide prompts to create such UIs or modify existing code imported from an existing GitHub repository.  

Joule Studio embeds Vercel's vibe-coding platform v0 natively in the browser, so users can generate modern, powerful React/Next.js front-end applications without ever leaving the Studio. 

This exercise below about v0 is an optional exercise. We included it here because v0 is the key part of Vercel that will be embedded into Joule Studio. 

Note: Though vibe-coding is a key feature in v0, we are not asking you to do vibe-coding in this exercise because you get $5 credit per month in the free trial account and you would likely expend that very quickly. 

Optional Exercise: 

  1. Open the url https://v0.app/ in a browser 
  2. You will see a text area where you can provide your prompt to vibe-code your app idea.  
  3. Just below the text area, you will see the already available templates of the sites built by vibe-coding with v0 
  4. Open the template with the title Optimus - The AI platform to build and ship and scroll through the page and access various tabs within this site 
  5. Custom landing pages such as these can be created with vibe-coding on the v0 app. You can also use v0 to build anything, from landing pages, dashboards, e-commerce stores, and AI apps to full-stack applications.

In short: 

Vercel provides the deployment and hosting platform, while v0 is the AI-powered vibe-coding tool used to generate React and Next.js applications from natural language prompts.

 

 

 

 

 

 

 

67 Comments
mhappe
Participant

mhappe_1-1787736330974.png

 

  • Ease of use:  Easy use, out of the box
  • Pain points: A small typo in the environment variable setp
  • Comparison: N/A
  • Future use:  Use in the joule studio 2.0

     

Rush_SAP
Explorer

Rush_SAP_0-1787738315217.png

  • Ease of use: Vercel is the easiest tool around for next.js deployment.
  • Pain points: None.
Ramapavani
Participant

Ramapavani_0-1787742816168.png

Ease of use: Vercel is the easiest tool for importing the projects and deployments
Pain points: Not actually a pain point, but started leanring many new things in one shot 🙂
Comparison: Vercel looks more light weight and agile
Future use: Waiting to see using this in Joule Studio

AnkurBajpai1
Discoverer





URL - https://business-card-app-seven-pi.vercel.app/

AnkurBajpai1_0-1787753528442.png

 

  • Ease of use: Setting up Next.js via create-next-app was seamless, and Vercel's zero-config deployment pipeline made taking the application live remarkably fast once connected to GitHub. Managing environment variables directly in the Vercel dashboard for the CAP backend connection was clean and intuitive.

  • Pain points: The main friction point was configuring GitHub authentication and personal access token (PAT) scope permissions in the terminal to push the local repository. Once the token permissions were set up properly, the deployment was smooth.

  • Comparison: Coming from an SAP background centered on SAPUI5, Fiori Elements, and CAP deployments on SAP BTP (Cloud Foundry/HTML5 Application Repository), Vercel feels significantly more lightweight and rapid for custom frontend prototyping and edge deployments. While UI5 remains essential for deep launchpad and enterprise standard integrations, Next.js provides unmatched agility for modern AI-driven interfaces.

  • Future use: Definitely. Combining Next.js and Vercel will be a go-to stack for building fast, custom frontend interfaces and AI agent UIs, especially as Vercel and v0 integrations expand inside Joule Studio.

 

 

 

Sai_Nithesh_G
Contributor

 

Sai_Nithesh_G_0-1787759956731.png

 

  • Ease of use: Next.js setup was smooth, and Vercel made deployment quick and straightforward.
  • Pain points: Understanding server/client components, SSR, and hydration was initially confusing.
  • Comparison: Compared with React alone or platforms like AWS Amplify, Next.js + Vercel offers a more integrated and streamlined experience.
  • Future use: Yes, I would use Next.js + Vercel because of its simplicity, performance, and easy deployment.
Tejaswini
Discoverer

Hey Team,

Done with Week 4!
Here's my deployed app: https://business-card-app-taupe.vercel.app

Tejaswini_0-1787763413307.png

Ease of use: Honestly this was pretty smooth. Next.js setup took just a few commands and I had it running locally in no time. Vercel deployment was even easier - connect GitHub repo, add one env variable, hit deploy, and it's live.

Pain points: I got stuck for a bit because my page.tsx wasn't actually saving the business card code properly, so I ended up deploying the default Next.js starter page without realizing it! Had to go back, double check the file contents in the terminal, and redo it. Lesson learned - always verify before pushing.

Future use: Yes, I'd use this again. It's fast, the GitHub-Vercel integration auto-deploys on every push which is really convenient, and overall a good stack for quick projects.

AdrianaOrozco63
Explorer

Ease of use: It feels like there's greater ease of use and, above all, speed in development, along with how easy it makes vibe coding.

Future use: I'd like to see how this will work with the new Joule Studio, and especially how the cost side will play out, but at first glance it looks like something I could use.

AdrianaOrozco63_0-1787764013893.png

 

abdulmuqeet_x
Explorer

abdulmuqeet_x_0-1787778378765.png

Week 4 done — deployed at https://business-card-app-mocha.vercel.app/


Ease of use: Next.js setup was quite smooth, and deploying the project to Vercel was simple and straightforward. The integration between Next.js and Vercel made deployment much easier.

Comparison: I have experience with React, and Next.js feels like a more complete framework because it provides features like server-side rendering, routing, and optimized deployments out of the box. Compared to using React alone, Next.js requires less setup for building a full-stack web application.

 

AndriiDanilishin
Participant

AndriiDanilishin_0-1787783072059.png

 

  • Ease of use:  Vercel deployment was straightforward
  • Pain points: The main confusion was authenticating with the correct GitHub account 😁
  • Comparison: I've used React/Vue/Angular. Vercel feels more tightly integrated with Next.js and requires less configuration for deployment. 
  • Future use: Yes, I would like to use Next.js with Vercel for future projects
Mohammed_Nabeel
Participant

Ease of use:
As someone coming from a SAP ABAP background and using Vercel for the first time, I found the overall experience beginner-friendly and a good learning opportunity.

Pain points:
Understanding the deployment flow and environment variable setup took some trial and error, but it helped me learn how modern cloud deployments work.

Mohammed_Nabeel_0-1787798187952.png

Mohammed_Nabeel_1-1787798209677.png

ayush_rawat25
Explorer

Deployed application:
ayush_rawat25_0-1787812624393.png

Application url: https://business-card-app-nu-seven.vercel.app/
Ease of use: It was really easy and quick to deploy the application from GitHub to vercel.
Pain points: The initial setup of GitHub on vscode was little time consuming.
Comparison: I have used React for personal projects but next.js was more easier to control.
Future use: I may use it but it mostly depends on the need of Cloud applications. Currently for UI I am using UI5.

deiamolina
Contributor

Hi.

Oh look! I tried hydration, rehydration, hydrated, dehydrated... even Gatorade 😂. Just kidding.

I asked Claude, Google, and even Copilot. Yes, Copilot! And somehow I still couldn't get it right. WHY??? 🤣

At this point, I definitely learned how to edit, save, run, troubleshoot, save again, run again, troubleshoot again... probably a hundred times!

So, what's the answer? Am I doing something wrong?

Ease of use: The deployment was super easy. It's honestly crazy how simple Vercel makes it.
Pain points: The question! 😂
Comparison: I don't really use similar tools, so I don't have much to compare it to.
Future use: Absolutely! I would definitely use Next.js and Vercel again. The setup was straightforward, and the deployment experience was surprisingly smooth.

https://business-card-73seutceb-deiamolina.vercel.app/ 

2026-08-27_08h21_34.png

 Thanks
Andrea

manish_kn
Explorer

manish_kn_0-1787821794774.png

  • Ease of use: Yes, very easy and simple - Git commit updates are amazing.
  • Pain points: None so far.
  • Future use: Sure if SAP adopts this.
omer_sakar
Active Participant
ravi_ekambaram
Product and Topic Expert
Product and Topic Expert

ravi_ekambaram_0-1787835341533.png

  • Ease of use: Easy to setup and Vercel deployment was quite quick and smooth. 
  • Future use: I would definitely use for prototypes, AI agents UI build etc..and vercel being integrated within Joule Studio would be a game changer for custom agent development with UIs
ChiragPRO99
Explorer

ChiragPRO99_0-1787849372668.png

 

jose_roberto_milan_1-1787855036653.png

  • Ease of use: easy to use.
  • Pain points: No one, was very easy to develop it. maybe, in my case was install enviroment and some pc stufs.
  • Comparison: No, only Node with Fiori and fiori elements.
  • Future use: I think it will depend on the projects, but I’ll definitely propose it.

 

Labels in this area