Getting Started with Gradiant
This guide will help you set up and start using Gradiant. Follow these steps to get your environment ready and begin development.Prerequisites
Before you begin, ensure you have the following installed:- Node.js (v18 or later)
- pnpm (v8 or later)
- AWS CLI (configured with appropriate credentials)
- Docker (for local development)
Installation
- Clone the repository:
- Install dependencies:
- Set up environment variables:
.env with your configuration values.
Configuration
Basic Setup
- Configure AWS credentials:
- Set up the development database:
- Initialize the development environment:
Security Configuration
- Generate encryption keys:
- Configure HIPAA compliance settings:
Running the Application
- Start the development server:
- Access the application:
- Frontend: http://localhost:3000
- API: http://localhost:3001
- Documentation: http://localhost:3002
Development Workflow
Code Structure
Key Commands
pnpm dev- Start development environmentpnpm test- Run testspnpm build- Build for productionpnpm lint- Run lintingpnpm format- Format code
Next Steps
- Review the Architecture Overview
- Explore the API Documentation
- Learn about Security Features
- Check out Advanced Features
Troubleshooting
Common Issues
-
Database Connection Issues
- Verify PostgreSQL is running
- Check connection string in
.env - Ensure proper permissions
-
AWS Configuration
- Verify AWS credentials
- Check region settings
- Confirm IAM permissions
-
Development Server
- Clear
.nextcache - Verify port availability
- Check Node.js version
- Clear
Getting Help
- Join our Discord community
- Check GitHub Issues
- Contact [email protected]