This project serves as a starter template for integrating Appwrite with Nuxt 3, featuring modern development tools such as TypeScript and Prettier.
- Appwrite Documentation – Learn more about Appwrite, its services, and how to work with it.
- Nuxt 3 Documentation – Get started with Nuxt 3, its features, and how to use it.
This project includes:
- Nuxt 3: A modern and intuitive Vue.js framework for server-side rendered applications.
- Nuxt UI: A powerful UI library built for Nuxt applications.
- Prettier: A code formatter to enforce consistent style throughout your codebase.
- TypeScript: A strict syntactical superset of JavaScript, ensuring type safety.
To get started with the project, follow these steps:
Make sure you have one of the following package managers installed:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
Copy the .env.example
file to .env
and update it with your Appwrite credentials:
cp .env.example .env
Fill in the required fields in the .env
file:
APPWRITE_URL
: The URL of your Appwrite instance.APPWRITE_PROJECT_ID
: The Project ID from your Appwrite project.
Run the development server at http://localhost:3000:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run dev
During development, Nuxt provides Hot Module Replacement, meaning the page will automatically reload when you make changes to the code.
To build the application for production, run:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
# bun
bun run build
Once built, you can preview the production build locally:
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn preview
# bun
bun run preview
To deploy your application, refer to the Nuxt deployment documentation. It includes details for various platforms and deployment strategies such as Vercel, Netlify, or server-based setups.