a daily standup tool
- Fork and clone the repository:
git clone https://github.com/you/maize.git
cd maize
- Install dependencies:
npm install
- Set up environment variables:
cp .env.example .env
- Start Convex development server:
npx convex dev
- Start the development server in another tab:
npm run dev
- Node.js (v20 or higher)
- npm
- A Convex account (for backend functionality)
- An Auth0 account (for authentication)
-
Convex Setup
- Create a new project in Convex
- Get your project ID from the Convex dashboard
- Login to Convex:
convex login
- Set up Convex environment variables:
- Go to your Convex dashboard: https://dashboard.convex.dev
- Navigate to Settings > Environment Variables
- Add the following variables:
AUTH0_DOMAIN
- Your Auth0 domainAUTH0_CLIENT_ID
- Your Auth0 client ID
-
Auth0 Setup
- Create a new application in Auth0
- Set the following in your Auth0 application settings:
- Allowed Callback URLs:
http://localhost:3000
(development) and your deployment URL - Allowed Logout URLs:
http://localhost:3000
(development) and your deployment URL - Allowed Web Origins:
http://localhost:3000
(development) and your deployment URL
- Allowed Callback URLs:
- Get your Auth0 domain and client ID
- Update your
.env
file with the Auth0 credentials:VITE_AUTH0_DOMAIN=your_auth0_domain VITE_AUTH0_CLIENT_ID=your_auth0_client_id
The easiest way to deploy your frontend is using Netlify:
- Push your code to a Git repository
- Connect your repository to Netlify
- Add the environment variables
- Configure the build settings:
- Build command:
npx convex deploy --cmd 'npm run build'
- Publish directory:
dist
- Build command:
- Deploy!
You can also self-host your frontend using Docker:
-
Make sure your
.env
is populated with the correct credentials. -
Build the Docker image:
docker build -t your-app-name .
- Run the container:
docker run -p 80:80 your-app-name
The Docker setup includes:
- Multi-stage build for smaller image size
- Nginx for serving static files
- Optimized caching and compression
- Security headers
- Health check endpoint
npm run dev
- Start development servernpm run build
- Build for productionnpm run typecheck
- Run TypeScript type checking
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.