Files
robinnetwork_website_new_cl…/README.md
2026-05-02 08:52:08 +03:30

813 B
Raw Blame History

🚀 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.