Skip to main content

Local development

These steps match the Academia repository getting-started instructions.

Prerequisites

  • Node.js 18+ (repository also lists npm)
  • Access to the backend API your deployment uses

Install and run

git clone https://github.com/kubsamelkamu/Academia.git
cd Academia
npm install

Create .env.local in the project root. The Axios client reads the public API base URL from the environment:

# Example from the upstream README (adjust for your environment)
NEXT_PUBLIC_API_BASE_URL="https://api.academia.et/api/v1"

Start the dev server:

npm run dev

Open http://localhost:3000.

Scripts reference

CommandPurpose
npm run devDevelopment server
npm run buildProduction build
npm run startRun production server
npm run lintESLint