This is a full working example of a Next.js project that implements UNIPaaS Platform Integration.
This project was based on @cwuyiqing's nextjs-starter.
The starter includes:
- 🚀 Next.js 13 & React 18
- ⚙️ Tailwind CSS 3 - A utility-first CSS framework
- 🍓 Styled Components - Styling React component
- 📏 ESLint — Pluggable JavaScript linter
- 💖 Prettier - Opinionated Code Formatter
- 🐶 Husky — Use git hooks with ease
- 🚫 lint-staged - Run linters against staged git files
- 🗂 Absolute import - Import folders and files using the
@
prefix - 🤩 Vercel Serverless/Edge Functions - Serverless/Edge functions for Next.js
The quickest way to get started is to use the following steps:
- clone this repo
- cd into the directory
yarn install
yarn dev
- update
environment-keys.json
with your UNIPaaS private keys per each environment