erp_be/SETUP_STATUS.md
2026-06-17 11:30:11 +05:30

33 lines
744 B
Markdown

# Setup Status
Initial setup has been started with your DB config:
- Host: `demo.venbait.in`
- Port: `5432`
- Database: `bharaterp`
- User: `bharaterpdevdbuser`
## What is ready
- Base Node/Express scaffold in `src/`
- Environment files (`.env`, `.env.example`)
- Prisma datasource in `prisma/schema.prisma`
- Database bootstrap script: `scripts/setup-db.sh`
## Run DB setup
```bash
cd /home/smart/Documents/ERP_BE
./scripts/setup-db.sh /home/smart/Downloads/erp_phase1_ddl.sql
```
The script:
1. Creates `bharaterp` if it does not exist
2. Executes the provided Phase 1 DDL on that database
## Next steps
1. Install npm dependencies (if network allows)
2. Generate Prisma client: `npm run prisma:generate`
3. Start API: `npm run dev`