Skip to content

juancgalueweb/cocktailsdb-nextjs

Repository files navigation

This is a Next.js project created with PNPM, which is performance-npm.

Getting Started

Make sure that you have PNPM installed in your system, if not, follow this documentation.

Then, install all the project dependencies:

pnpm install

When you are ready, run the development server:

pnpm 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.

For this project, I used a Freemiun API from Rapid API, called The Cocktail DB. If you want to play along with the project, you'll need your own API Key.

In the root folder of your project, create a file .env.local following the code in the .env.example provided.

Learn More

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

Deploy on Vercel

The live version of the project was deployed using Vercel from the creators of Next.js.

Check the live version by clicking here