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