Introduction
Thank you for purchasing code. It really means a lot and It's our pleasure to serve top-notch service to you. Thank you so much for choosing WRTeam . If you have trouble with the code and documentation please contact to our Support Team Here
- VPS Hosting: A Virtual Private Server (VPS) is mandatory to ensure reliable performance and security. Shared hosting environments are not supported for this web application.
- Node.js Support: The server must support Node.js , as it is essential for running the application.
- Memory Requirements: The server should have at least 3-4 GB of free RAM to handle the application's processes effectively.
- SSH Root Access: The server must provide SSH root access to execute Node.js commands and manage the application.
- Shared Hosting: is sufficient if the web application does not require SEO functionalities.
- PHP Version: eBroker Admin panel is built using Laravel Framework 10.0 so you need PHP version minimum 8.1.0 or higher version installed on your server.
- Flutter Version: 3.24.3
- Java Version: JDK version 22
Important Note:
A VPS server is only required if you plan to use the web application with SEO.
However, if you are only using the web application without SEO , app and the admin panel you can option for a
shared hosting server as it is sufficient for these components.
- How to setup Web Version
- Where to set API URL (Admin)
-
Go to Main Folder ->
.env
file open it ADMIN PANEL URL - Where to Set Google Maps API Key
- Get your Google Maps API key from https://console.cloud.google.com/
-
Paste here your Google Maps Api here
- How to configure firebase configuration and authorised domain add.
- Create firebase project in your account
- Add web application to your firebase project
-
Enter the App Name and Click on Register App
-
How to configure firebase integration and domain in firebase console.
-
Copy this Highlited Code and paste one by one as per label given in admin
panel->web settings->settings
-
This credentials should match with the credentials that you have set in
.env
file Otherwise it will not work properly.
- How to configure domain in firebase console
- You have successfully connected your Web application to your firebase project.
- How to enable firebase auth
- Go to firebase project.Click on authentication menu and goto sign-in method.
Enable the authentication method mention in below image
- How to Add Vapid Api key for Notification
-
Note: Go to
Firbase Project Settings
>Messsaging
>Web configuration
and copy key pair and paste to you.env
file - Locate the
.env
file. - How to Change Web Application Name
- Change the application name for your Web application. Go to the
.env file
- How to Change Web Favicon
- Go to the folder
pages → _app.js
- How to Add Default Country Code
- Go to
.env
File - How to Set Color Code
- Go to your admin panel
Settings → System Settings → More Settings → System Color
- How to Set Logo for web
- Go to your admin panel
Settings → Web settings → Image Settings → Main Logo
- Go to your admin panel
Settings → Web settings → Image Settings → Placeholder Image
- Go to your admin panel
Settings → Web settings → Image Settings → Footer Logo
- How to Add Your Address Google Map
- Go to google Maps>
- Go to Admin panel
system settings > Web Settings > Iframe Link For Web
- Great! now you can see your Google maps on Contact Us Page
- How to Add Google AdSence
- Go to Google AdSence and sigin your account and Add site as per Image
- click on Let's Go button
- Copy this script code and paste to your
src
->pages
->_document.js
- after script add you need to run command for build folder npm run export and upload to your server. and after click on verify button in google adsence
- If it says
Getting ready
your account is still under review and your site will not display ads until it has been approved. - How to run this project
- How to Setup Sitemap
-
add web domain or subdomain url in
.env
File - generate sitemap use command :-
npm run dev
- if you want to customize the sitemap then go to file
public->sitemap.xml
- Local Build and Deploy (Without SEO)
- Seo for Web
-
if you have VPS server then go to
.env file
and make it "true"NEXT_PUBLIC_SEO="true"
- Deploy to the Server
- Upload .htaccess file
Installation of Web Setup Video for Client Side
Configure Code in CodeEditer
Upload Code in Server
Install Node JS

Note








first search your location then go to share >
Embed a map
and copy iframe html COPY HTML

Paste your html code here








Open VS Code teminal by typing CTRL+J in Windows/Linux, and for MacOS
CMD+J and execute the command
npm i
This will take some time to download a few Packages so wait for a few minutes.
After npm i finishes run this command
npm run dev
This Command will Start the development mode.Check If everything is working fine
then your are good to go ahead.
After all the changes, you are ready to deploy your Web application on a live server.
Open the VS Code terminal by typing CTRL+J in Windows/Linux or CMD+J for MacOS and execute the command npm run export. This will take a few seconds to build the live and optimized version of the web application.
After the process completion, go to the out
folder and upload these
files
to your live server (only upload files from the out folder).
If you encounter any deployment-related problems, you can follow the official document: Next.js Deployment
WARNING

WARNING
node js
npm
pm2
technologies. We have assumed
that you are using a
debian
based OS, apt is your package manager. If you are using any other
linux distro then apt will be replaced with the respective package manager of the OS
Before starting the project deployment, you must upload your project to the server. Project can be upload to the server using FileZila or in other ways.
Installing NodeJS
NodeJS can be installed using NVM by which multi Node version can be controlled easily.
sudo apt install curl
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash>
sudo apt install curl
nvm install node 20.*
Check if node js is installed correctly using this command
node -v
INFO
Installing PM2 Server
By running the following command, PM2 server can be installed globally
npm install pm2 -g
Pass the Proxy in the Server
Before configuring Apache, some necessary modules need to be enabled. Run the following commands to enable the modules
sudo a2enmod proxy_ajp
sudo a2enmod rewrite
sudo a2enmod deflate
sudo a2enmod proxy_balancer
sudo a2enmod proxy_connect
sudo a2enmod proxy_html
<Location />
ProxyPass http://localhost:8001/
</Location>
Setup the Project
MANDATORY
node_modules
installed in your directory.
npm install
After that, project must be built. For that, run the following command, which will build the production application in the out folder.
npm run build
Run the PM2 server
Go to the project root and run the following commandpm2 start "npm start" -n "YOUR_PROJECT_NAME"
pm2 ls
1. Error :


If you are getting errors in the pm2 process , then run pm2 logs and send us the Screenshot of the error, so that we can guide you to resolve your issues.
If you want to restart your pm2 process then run pm2 restart id // Replace id with your process id
For example here id is 0 in the above screenshot --> pm2 restart 0
pm2 delete "YOUR_PROJECT_NAME"
INFO
MANDATORY
.htaccess
file to your web code on your
server.
Support
Delighted to serve and support you! Contact our support team led by Shakir Memon on Skype
To help our customers, we constantly be in touch with every customer if they need any assistance regarding our product. We offer our customers a support from Mon – Fri 9.00 AM to 6.00 PM IST (GMT +5.30) – We are a Team located in India – Asia.
Typically we reply our customers for all the questions and queries within 24 hours of time via comments, support forum or emails.
Your Feedback
Dear valuable customer, Thank you very much for choosing our product. It's our pleasure to serve top-notch service to you. Please give us your honest feedback that will help us to make a more strong and reliable product by click here Rate Us. Thank you very much.
Contact Us
WRTeam has creative and dedicated group of developers who are mastered in Apps Developments and Web Application Development with a nice in delivering quality solutions to customers across the globe. Contact us today to find out how we can help you or for freelance work.
Visit Us : https://wrteam.in
Mail Us : support@wrteam.in
Thank you very much.
Settings > Web Settings > Social Media Links
add here your social media linksSettings > Web Settings > More Settings
add here your play store and app store links