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.
Related topics
- Environment and API — how the client sends headers and tokens
- Multi-tenancy — testing tenant middleware locally
Scripts reference
| Command | Purpose |
|---|---|
npm run dev | Development server |
npm run build | Production build |
npm run start | Run production server |
npm run lint | ESLint |