For Developers
instructions on installing the app
Prerequisites
Node.js (Latest LTS version)
Docker and Docker Compose
Git
MongoDB
Redis
Installation Steps
Clone the Repository
Environment Setup Create a
.env
file in the root directory with the following required variables (replace with your values):
Install Dependencies
Development Setup
Option A: Using Docker (Recommended)
Option B: Manual Setup
Build for Production
Run Production
Accessing the Application
Frontend: http://localhost:3000
Backend API: http://localhost:3100
Tools API: http://localhost:3400
Additional Notes
Database Setup
MongoDB and Redis will be automatically set up if using Docker
If running manually, ensure MongoDB and Redis are running locally
Blockchain Integration
Make sure you have the Pontem Wallet browser extension installed for Aptos blockchain interaction
The application is configured to work with the Aptos testnet by default
API Keys
Obtain necessary API keys for OpenAI and other integrated services
Update the
.env
file with your API keys
Troubleshooting
If you encounter any port conflicts, modify the port mappings in
docker-compose.yml
For database connection issues, verify your MongoDB and Redis credentials
Check the logs using
docker-compose logs
if running with Docker
Development Tools
The project uses NX for monorepo management
TypeScript is used throughout the project
Tailwind CSS is used for styling
Security Considerations
Never commit the
.env
fileKeep your API keys secure
Use strong passwords for database access
Follow Aptos blockchain security best practices
Would you like me to elaborate on any of these steps or provide more specific information about any part of the setup process?
Last updated