How to Add Map API key
1. Go to Google Cloud Platform. Click
here
2. Click on console.

3. Select your Firebase Project

4. While following this Offical Documentation there you need to enable two APIs You need to
enable
1) Places, 2)Javascript Map API and 3) Geocoding API
these APIs
Offical Documentation for creating API key
5. Click on Enable to, enable that APIs

6. Go to Credential Tab. you will find your web API keys.

7. copy that key and paste in following file.
eRestro > config.js > YOUR_GOOGLE_MAPS_API_KEY
System Configuration Using .env file
You can set your API URL which fetches data from the server and a link to partner registration
page here. To configure these
You can find .env file in your root of the project.
# BASE URL of your Admin panel,
# and the API URL which you can find in the admin panel
# please don't forget to add a trailing slash.
## for example :
# REACT_APP_ADMIN_PANEL_URL = "https://erestro-admin-panel.com/"
# API_URL = "https://erestro-admin-panel.com/app/v1/api/"
REACT_APP_ADMIN_PANEL_URL = "https://YOUR.ADMIN.APP/"
REACT_APP_API_URL = "https://YOUR.ADMIN.APP/app/v1/api/"
System Configuration Using Config.js
It is necesary for to setup the Google Maps API key and other settings here in the config.js to
make your site work. To configure these
Go to src\utils\config.js file.
let config = {
// defualt country set
DefaultCountrySelectedInMobile: "in",
//google Places key
YOUR_GOOGLE_MAPS_API_KEY: "Aasdasdaasdfsadfasfsaf6546546j1lE",
};
export default config;
Create Your Own Language
1. Create Folder:
create your language folder in this
destination public\assets\locales.
2. Create Your Newely Added Language
Labels: In your language folder
create
translation.json file.
In the translation.json
file
you can add
your
react web labels.
3. Add Your Language Code:
Add your language code in this line.
4. Your Language is Added:
Hurrey you successfully add your own
language in your react web.
Theme Color
Change Theme color to fit your needs.
Open src\assets\css\style.css file where you can set your desired primary color, border color
or light color.