This is a monorepo containing both the frontend and backend applications for Bookify.
bookify/
├── frontend/ # Angular application
└── backend/ # Node.js application with MySQL
- Node.js (v16 or higher)
- Angular CLI
- MySQL Server
- npm or yarn
-
Install dependencies for all projects:
npm run install:all
-
Configure the backend:
- Create a
.envfile in the backend directory - Set up your MySQL database
- Configure the database connection in the backend
- Create a
-
Start the development servers:
For frontend:
npm run start:frontend
For backend:
npm run start:backend
- Frontend runs on: http://localhost:4200
- Backend runs on: http://localhost:3000
npm run start:frontend- Start the Angular development servernpm run start:backend- Start the Node.js backend servernpm run install:all- Install dependencies for all projects