This repository contains a simple web application with two main components:
- API: Written in Laravel PHP, the API serves as the backend for the application and listens on port 8000.
- Client: Developed using Nuxt.js, the client is the frontend of the application and listens on port 3000.
-
API Directory: Take a look at the
.env
file in the API directory. It should contain the necessary credentials to connect to the database.DB_CONNECTION=mysql DB_HOST=db DB_PORT=3306 DB_DATABASE=bookapi DB_USERNAME=app DB_PASSWORD=password
-
Client Directory: Check the
.env
file in the Client directory. It should contain the connection string to connect to the API.VITE_API_URL=http://api:8000