Skip to content

wizeline/iberia-website-fe

Repository files navigation

iberia-genai-poc

This is a Next.js project bootstrapped with create-next-app.

Getting Started

You'll need npm. It's recommended to install nvm so you can have multiple versions of node and npm installed. Check the installation instructions here.

You might need to install next:

npm install next@latest

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/generate. This endpoint can be edited in pages/api/generate.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

There's a second repository that we use to deploy this project on Vercel. You can find it here.

Deployment is really easy, just add this new repo:

If you use HTTPS:

git remote add deploy https://github.com/wizeline/iberia-website-fe-deploy.git

If you use SSH:

git remote add deploy git@github.com:wizeline/iberia-website-fe-deploy.git

And then push to the deploy remote:

git push deploy main

The project will be deployed on Vercel and you can access it on https://iberia-website-fe-deploy.vercel.app/.