Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.38 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.38 KB

DOJO App (front-end)

Table of contents:

Development

Check the development section in the main README file before reading this one.

⚠️ All commands displayed below are meant to be executed inside packages/app unless explicitly said otherwise.

Set environment variables

Create a .env file and set the following environment variables:

Variable Description
NEXT_PUBLIC_API_BASE_URL Base URL of your back-end server

All variables without a default value are required.

You can use the following .env sample as a starting point for local development.

NEXT_PUBLIC_API_BASE_URL=http://localhost:2000

Run the development server

yarn dev

Open http://localhost:3000 with your browser to see the result.

Troubleshooting

[WSL] Nothing shows up on http://localhost:3000

Current workaround: run ipconfig /flushdns and restart the computer.