diff --git a/README.md b/README.md index b9bd10d..21b37e6 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ fusero-app-boilerplate/ ## Prerequisites -- Node.js (v18 or higher) +- Node.js (v20 or higher) - npm (v9 or higher) - Docker and Docker Compose - Git @@ -67,6 +67,28 @@ npm run dev ``` The frontend will be available at http://localhost:3000 +### Database Setup + +1. **Create a New Volume** + - Ensure the database volume is created: + ```bash + docker volume create fusero-db-data + ``` + +2. **Run Migrations** + - Apply database migrations to set up the schema: + ```bash + cd backend + npm run migrate + ``` + +3. **Seed the Database** + - Populate the database with initial data: + ```bash + cd backend + npm run seed + ``` + ### Environment Setup 1. **Backend Environment**