Environment Variables
- Run the purchased and downloaded NextJS project on your preferred IDE.
- Create a
.env.localfile in the root directory and take the demo credentials from .env.sample file which is inside the project folder and copy pest the environment variables.
⚠️ All environment variables prefixed with NEXT_PUBLIC_ are exposed to the browser.
Change Credentials
To change the base URL follow the steps given below –- Must remember that don’t put slash(/) at the end of your NEXT_PUBLIC_API_URL.
- Now use double-quote(”) for all the environment veriables value.
- All the credentials are in demo mode, so there may be some interruption possibilities available on api data. To prevent any kind of interruption in runinng the application please contact us.