API backend for Neurowealth - a financial planning and investment platform.
- Copy
.env.exampleto.envand fill in the required values. - Start the database via Docker Compose:
docker-compose up -d - Run migrations:
npx prisma migrate deploy - Start the development server:
npm run dev
| Script | Description |
|---|---|
npm run dev |
Start development server with nodemon |
npm test |
Run all tests |
npm run test:unit |
Run unit tests only |
npm run lint |
Run ESLint |
npm run typecheck |
Run TypeScript type check |
npm run build |
Build the TypeScript project |
See .env.example for all required environment variables, including:
DATABASE_URL- PostgreSQL connection stringSTELLAR_NETWORK- testnet or mainnetSTELLAR_AGENT_SECRET_KEY- Stellar secret keyVAULT_CONTRACT_ID- deployed vault contract IDDATABASE_HOST,DATABASE_PORT,DATABASE_USER,DB_PASSWORDJWT_SECRET,REFRESH_TOKEN_SECRET- And more...
- Full documentation is available in the docs/ folder
- Start with DOCUMENTATION_INDEX.md
- Key guides: DEPLOYMENT.md, QUICK_REFERENCE.md
- Node.js 18+
- PostgreSQL 14+
- Docker & Docker Compose (for local development)