UNIPaaS Platform Integration - Next.js Full E2E Example

Intro

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

🚀 Getting started

The quickest way to get started is to use the following steps:

  1. clone this repo
  2. cd into the directory
  3. yarn install
  4. yarn dev
  5. update environment-keys.json with your UNIPaaS private keys per each environment