Welcome to the Zypher setup guide! This document will help you set up the Zypher project on your local machine and provide resources to learn the necessary technologies.
Before you begin, make sure you have the following installed:
- Node.js (v14 or later)
- npm (comes with Node.js) or yarn
- Git
-
Clone the repository:
git clone https://github.com/your-username/zypher.git cd zypher
-
Install dependencies:
Using npm:
npm install
Using yarn:
yarn install
-
Set up environment variables:
Create a
.env
file in the root of your project and add the following variables:NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key CLERK_SECRET_KEY=your_clerk_secret_key NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/onboarding NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/onboarding WEBHOOK_SECRET=your_webhook_secret UPLOADTHING_SECRET=your_uploadthing_secret UPLOADTHING_APP_ID=your_uploadthing_app_id APP_URL=https://zapher.vercel.app NEXT_PUBLIC_MONGODBURL=your_mongodb_connection_url
Replace the placeholders with your actual credentials.
-
Run the development server:
Using npm:
npm run dev
Using yarn:
yarn dev
Open http://localhost:3000 in your browser to see the application in action.
components/
: Contains the React components.pages/
: Contains the Next.js pages.styles/
: Contains the CSS files.utils/
: Contains utility functions.public/
: Contains static files.
If you want to dive deeper into any of the technologies used in this project, here are some more resources:
- HTML/CSS: MDN Web Docs
- TypeScript: TypeScript Documentation
- Node.js: Node.js Documentation
We welcome contributions! If you're interested in contributing, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b my-feature-branch
- Make your changes and commit them:
git commit -m 'Add new feature'
- Push to the branch:
git push origin my-feature-branch
- Create a pull request.
Please read our Code of Conduct and Contribution Guidelines before contributing.
If you have any questions or need help, feel free to open an issue on GitHub or join our Discord community. Happy coding!