Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 826 Bytes

File metadata and controls

27 lines (19 loc) · 826 Bytes

Challenge

Overview

This repository contains a simple web application with two main components:

  1. API: Written in Laravel PHP, the API serves as the backend for the application and listens on port 8000.
  2. Client: Developed using Nuxt.js, the client is the frontend of the application and listens on port 3000.

Environment Variables

  • 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