This repository contains both the frontend and backend code for the EdiCodes website.
edicodes/- Frontend Vue.js applicationback-end/- Laravel backend API
-
Navigate to the backend directory:
cd back-end -
Install PHP dependencies:
composer install
-
Copy the environment file:
cp .env.example .env
-
Generate application key:
php artisan key:generate
-
Configure your database in
.envand run migrations:php artisan migrate
-
Install frontend dependencies and build:
npm install npm run build
-
Navigate to the frontend directory:
cd edicodes -
Install dependencies:
npm install
-
Copy the environment file:
cp .env.example .env
-
Start the development server:
npm run dev
- Backend API runs on:
http://localhost:8000 - Frontend development server runs on:
http://localhost:3000