Get DevFoundry up and running in minutes!
# Clone the repository
git clone <repository-url>
cd DevFoundrycd backend
dotnet restore
dotnet run --project src/DevFoundry.Api/DevFoundry.Api.csprojThe API will start at http://localhost:5000.
cd frontend/devfoundry-ui
npm install
npm run devThe UI will start at http://localhost:5173.
Navigate to http://localhost:5173 and start using DevFoundry!
cd backend
# List all available tools
dotnet run --project src/DevFoundry.Cli/DevFoundry.Cli.csproj -- list
# Get help for a specific tool
dotnet run --project src/DevFoundry.Cli/DevFoundry.Cli.csproj -- describe json.formatter
# Format JSON
echo '{"name":"test"}' | dotnet run --project src/DevFoundry.Cli/DevFoundry.Cli.csproj -- run json.formatter
# Generate UUIDs
dotnet run --project src/DevFoundry.Cli/DevFoundry.Cli.csproj -- run generation.uuid --param count=5
# Calculate hash
echo "hello world" | dotnet run --project src/DevFoundry.Cli/DevFoundry.Cli.csproj -- run crypto.hash --param algorithm=sha256# Backend tests
cd backend
dotnet test
# Frontend type checking
cd frontend/devfoundry-ui
npm run type-check- Read the CONTRIBUTING.md to learn how to add new tools
- Check out the backend README for API details
- See the frontend README for UI development
- Ensure .NET 8 SDK is installed:
dotnet --version - Check if port 5000 is available
- Ensure Node.js is installed:
node --version - Clear node_modules:
rm -rf node_modules && npm install - Check if port 5173 is available
- Ensure the API is running on
http://localhost:5000 - Check
VITE_API_BASE_URLin frontend.envfile