This is a React project created with Vite. Make sure that you have installed React and Vite into your machine.
-
Install npm dependencies.
npm install
-
Setup appwrite environment as specified in
.env.sample
.VITE_APPWRITE_URL="appwrite endpoint url" VITE_APPWRITE_PROJECT_ID="appwrite project id" VITE_APPWRITE_DATABASE_ID="appwrite database id" VITE_APPWRITE_COLLECTION_ID="appwrite collection id" VITE_APPWRITE_BUCKET_ID="appwrite bucket id"
-
Run project in your machine.
npm run dev
-
appwrite: Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API.
-
@headlessui/react: A set of completely unstyled, fully accessible UI components for React, designed to integrate beautifully with Tailwind CSS.
-
@reduxjs/toolkit: The official, opinionated, batteries-included toolset for efficient Redux development i.e. state management.
-
@tinymce/tinymce-react: Official TinyMCE React component. The world's #1 open source rich text editor.
-
html-react-parser: The parser converts an HTML string to one or more React elements.
-
react-hook-form: Performant, flexible and extensible forms with easy-to-use validation.
-
react-router-dom: The react-router-dom package contains bindings for using React Router in web applications.
-
react-redux: Official React bindings for Redux.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh