🚀 Robin Nework New Client Setup
Follow these steps to run the frontend locally.
1️⃣ Install Dependencies
npm install
2️⃣ Create .env File
Create a .env file in the root directory and add:
NEXT_PUBLIC_BACKEND_URL=api.robinnetwork.ir (for example)
NEXT_PUBLIC_BACKEND_URL_LOCAL=http://127.0.0.1:4000
⚠️ Make sure your backend server is running on port 4000.
3️⃣ Run the Application
npm run build
npm start
✅ Application URL
After running the command, the app will be available at:
http://localhost:3000
📝 Notes
- Restart the server after changing environment variables.
- Ensure the backend is running before testing API requests.
NEXT_PUBLIC_variables are exposed to the browser.
Description
Languages
TypeScript
97.1%
CSS
1.4%
JavaScript
0.8%
Dockerfile
0.7%