sanidhyy/jira-clone
关于
Full-stack Jira Clone using Next.js 14 and Appwrite.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Full-stack Jira Clone using Next.js 14 and Appwrite

:notebook_with_decorative_cover: Table of Contents
:bangbang: Folder Structure
Here is the folder structure of this app.
jira-clone/
|- public/
|- src/
|-- app/
|--- (auth)/
|--- (dashboard)/
|--- (standalone)/
|--- api/
|--- apple-icon.png
|--- error.tsx
|--- favicon.ico
|--- globals.css
|--- icon1.png
|--- icon2.png
|--- layout.tsx
|--- not-found.tsx
|-- components/
|--- ui/
|--- analytics-card.tsx
|--- analytics.tsx
|--- date-picker.tsx
|--- dotted-separator.tsx
|--- logo.tsx
|--- mobile-sidebar.tsx
|--- modal-provider.tsx
|--- navbar.tsx
|--- navigation.tsx
|--- page-error.tsx
|--- page-loader.tsx
|--- projects.tsx
|--- query-provider.tsx
|--- responsive-modal.tsx
|--- sidebar.tsx
|--- source-code.tsx
|--- workspaces-switcher.tsx
|-- config/
|--- db.ts
|--- index.ts
|-- features/
|--- auth/
|--- members/
|--- projects/
|--- tasks/
|--- workspaces/
|-- hooks/
|--- use-confirm.tsx
|--- use-debounce.ts
|-- lib/
|--- appwrite.ts
|--- hono.ts
|--- oauth.ts
|--- session-middleware.ts
|--- utils.ts
|- .env.example
|- .env/.env.local
|- .eslintrc.json
|- .gitignore
|- .prettierrc.json
|- .prettierrc.mjs
|- components.json
|- environment.d.ts
|- next.config.mjs
|- package.json
|- pnpm-lock.yaml
|- pnpm-workspace.yaml
|- postcss.config.mjs
|- tailwind.config.ts
|- tsconfig.json
|- vercel.ts
:toolbox: Getting Started
- Make sure Git and NodeJS is installed.
- Clone this repository to your local computer.
- Create
.env.localfile in root directory. - Contents of
.env.local:
# .env.local
# disable next.js telemetry
NEXT_TELEMETRY_DISABLED=1
# app base url
NEXT_PUBLIC_APP_BASE_URL=http://localhost:3000
# appwrite project and key
NEXT_PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
NEXT_PUBLIC_APPWRITE_PROJECT=XXXXXXXXXXXXXXXXXXXX
NEXT_PUBLIC_APPWRITE_IMAGES_BUCKET_ID=XXXXXXXXXXXXXXXXXXX
NEXT_APPWRITE_KEY=standard_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# appwrite database ids
NEXT_PUBLIC_APPWRITE_DATABASE_ID=XXXXXXXXXXXXXXXXXXX
NEXT_PUBLIC_APPWRITE_MEMBERS_ID=XXXXXXXXXXXXXXXXXXX
NEXT_PUBLIC_APPWRITE_PROJECTS_ID=XXXXXXXXXXXXXXXXXXX
NEXT_PUBLIC_APPWRITE_TASKS_ID=XXXXXXXXXXXXXXXXXXX
NEXT_PUBLIC_APPWRITE_WORKSPACES_ID=XXXXXXXXXXXXXXXXXXX
5. Disable Next.js Telemetry
Set NEXT_TELEMETRY_DISABLED to 1. This disables Next.js telemetry (optional).
6. App Base URL
Set the NEXT_PUBLIC_APP_BASE_URL to http://localhost:3000 where your app will be running locally or in production.
7. Get Appwrite Endpoint and Project ID
- Create an account on Appwrite.
- Create a new project:
- Go to Dashboard > Create Project.
- Retrieve your Appwrite Endpoint and Project ID:
- Navigate to Settings > Overview > API Credentials.
- Copy the Endpoint and Project ID, and save them in
.env.localasNEXT_PUBLIC_APPWRITE_ENDPOINTandNEXT_PUBLIC_APPWRITE_PROJECT.
8. Generate Appwrite API Key
- Go to the Overview tab.
- Navigate to Integrations > API Keys > Create API Key:
- Name:
jira-clone-web(or any preferred name). - Expiration Time: Never.
- Scopes:
authsession.writeusers.read.
- Name:
- Copy the generated API key and save it in
.env.localasNEXT_APPWRITE_KEY.
9. Create Database and Collections
Create the Database
- Go to the Databases tab.
- Create a new database named
jira-clone. - Copy the Database ID (displayed near the database name) and save it in
.env.localasNEXT_PUBLIC_APPWRITE_DATABASE_ID.
Create Collections and Define Attributes
- Tasks Collection:
- Attributes:
workspaceId(String, Required, Size: 50)name(String, Required, Size: 256)projectId(String, Required, Size: 50)assigneeId(String, Required, Size: 50)description(String, Optional, Size: 2048)dueDate(DateTime, Required)status(Enum, Required)- Elements: BACKLOG, TODO, IN_PROGRESS, IN_REVIEW, DONE
position(Integer, Required, Min: 1000, Max: 1000000)
- Projects Collection:
- Attributes:
workspaceId(String, Required, Size: 50)imageId(String, Optional, Size: 50)name(String, Required, Size: 256)
- Members Collection:
- Attributes:
userId(String, Required, Size: 50)workspaceId(String, Required, Size: 50)role(Enum, Required)- Elements: ADMIN, MEMBER
- Workspaces Collection:
- Attributes:
name(String, Required, Size: 256)userId(String, Required, Size: 50)imageId(String, Optional, Size: 50)inviteCode(String, Required, Size: 10)
Set Permissions for Collections
For each collection:
Navigate to Settings > Permissions.
Add the role All Users with Create, Read, Update, and Delete permissions and click Update.
Copy the Collection IDs (displayed near collection names) for each collection and save them in
.env.localasNEXT_PUBLIC_APPWRITE_MEMBERS_ID,NEXT_PUBLIC_APPWRITE_PROJECTS_ID,NEXT_PUBLIC_APPWRITE_TASKS_ID, andNEXT_PUBLIC_APPWRITE_WORKSPACES_ID.
10. Add Index to the Tasks Collection
- Go to the Tasks collection.
- Navigate to the Indexes tab.
- Create a new index:
- Name:
task_name. - Type: Full Text.
- Attribute: name.
- Order: DESC.
- Name:
11. Create a Bucket for Images
- Go to the Storage tab.
- Create a new bucket named
images(or any preferred name). - Configure bucket settings:
- Permissions: Add the role All Users with Create, Read, Update, and Delete permissions.
- Maximum File Size: Set to 1 MB.
- Allowed File Extensions: Add
jpg,png, andjpeg. - Save the settings.
- Copy the Bucket ID (displayed near the bucket name) and save it in
.env.localasNEXT_PUBLIC_APPWRITE_IMAGES_BUCKET_ID.
12. Configure OAuth with Google
- Go to the Auth tab in Appwrite > Settings.
- Enable Google and copy the provided Redirect URI.
- Visit the Google Cloud Console:
- Create a new project and configure the OAuth consent screen with default settings.
- Create OAuth 2.0 credentials:
- Add the copied Redirect URI from Appwrite as the Authorized Redirect URI.
- After creation, copy the generated Client ID and Client Secret.
- Return to Appwrite and paste the Client ID and Client Secret into the corresponding fields for App ID and App Secret, then click Update.
13. Configure OAuth with GitHub
- Go to the Auth tab in Appwrite > Settings.
- Enable GitHub and copy the provided Redirect URI.
- Visit the GitHub Developer Settings:
- Under OAuth Apps, click New OAuth App.
- Fill out the required fields:
- Application Name:
Jira Clone(or any preferred name). - Homepage URL:
http://localhost:3000(or your app's base URL). - Authorization Callback URL: Paste the Redirect URI copied from Appwrite.
- Application Name:
- Click Register Application.
- After registration, you'll receive a Client ID and Client Secret.
- Return to Appwrite and paste the Client ID and Client Secret into the corresponding fields for App ID and App Secret, then click Update.
Install Project Dependencies using
npm install --legacy-peer-depsoryarn install --legacy-peer-depsorpnpm install --legacy-peer-deps.Now app is fully configured 👍 and you can start using this app using either one of
npm run devoryarn devorpnpm dev.
NOTE: Please make sure to keep your API keys and configuration values secure and do not expose them publicly.
:raising_hand: Need Help?
If you run into issues during installation or setup:
- GitHub Discussions — Open a Q&A discussion for setup and troubleshooting help.
- Email — [email protected]
- Discord —
@sanidhyy
:camera: Screenshots




:gear: Tech Stack
:wrench: Stats
:raised_hands: Contribute
You might encounter some bugs while using this app. You are more than welcome to contribute. Just submit changes via pull request and I will review them before merging. Make sure you follow community guidelines.
:gem: Acknowledgements
Useful resources and dependencies that are used in Jira Clone.
- Thanks to CodeWithAntonio: https://codewithantonio.com/
- @babel/eslint-parser: ^8.1.2
- @hello-pangea/dnd: ^18.0.1
- @hono/zod-validator: ^0.9.1
- @hookform/resolvers: ^3.9.0
- @radix-ui/react-avatar: ^1.1.1
- @radix-ui/react-dialog: ^1.1.2
- @radix-ui/react-dropdown-menu: ^2.1.2
- @radix-ui/react-icons: ^1.3.0
- @radix-ui/react-label: ^2.1.0
- @radix-ui/react-popover: ^1.3.1
- @radix-ui/react-scroll-area: ^1.2.0
- @radix-ui/react-select: ^2.1.2
- @radix-ui/react-separator: ^1.1.0
- @radix-ui/react-slot: ^1.1.0
- @radix-ui/react-tabs: ^1.1.1
- @radix-ui/react-visually-hidden: ^1.2.13
- @tanstack/react-query: ^5.107.1
- @tanstack/react-table: ^9.2.4
- @trivago/prettier-plugin-sort-imports: ^6.0.0
- @types/node: ^26
- @types/react: ^18
- @types/react-big-calendar: ^1.15.0
- @types/react-dom: ^18
- @vercel/config: ^0.14.1
- class-variance-authority: ^0.7.0
- clsx: ^2.1.1
- date-fns: ^4.1.0
- eslint: ^10
- eslint-config-next: 16.4.6
- eslint-config-prettier: ^10.0.1
- eslint-plugin-prettier: ^5.2.1
- hono: ^4.13.18
- lucide-react: ^1.73.0
- next: 14.2.35
- next-themes: ^0.4.3
- node-appwrite: ^17.0.0
- nuqs: 1.19.1
- postcss: ^8
- prettier: ^3.10.1
- prettier-plugin-tailwindcss: ^0.8.0
- react: ^18
- react-big-calendar: ^1.15.0
- react-day-picker: 8.10.1
- react-dom: ^18
- react-hook-form: ^7.92.0
- react-icons: ^5.3.0
- react-use: ^17.5.1
- server-only: ^0.0.1
- sonner: ^2.0.1
- tailwind-merge: ^3.7.0
- tailwindcss: ^3.4.1
- tailwindcss-animate: ^1.0.7
- typescript: ^6
- vaul: ^1.1.0
- zod: ^3.23.8
:coffee: Buy Me a Coffee
:rocket: Follow Me
:books: Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
:page_with_curl: Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out Next.js deployment documentation for more details.
:star: Give A Star
You can also give this repository a star to show more people and they can use this repository.
:star2: Star History
探索相关项目
加载中…