Skip to content
On this page

Admin Settings

.env parameters

File name: .env

bash
PUBLIC_HTTP_ENDPOINT='https://api.litekart.in'

Store Configurations

File Name: src/lib/config/index.js

bash
export const sanity = sanityClient({
	projectId: 'pide10e0',
	dataset: 'production',
	apiVersion: '2021-10-21',
	useCdn: false,
	token: env.SECRET_SANITY_AUTH_TOKEN
})
export const authorInfo = {
	author: 'Swadesh Behera',
	facebookAuthorPage: `https://www.facebook.com/itswadesh`,
	facebookPageName: 'codenx',
	githubPage: 'itswadesh',
	linkedinProfile: 'itswadesh',
	telegramUsername: 'itswadesh',
	twitterUsername: 'itswadesh'
}

export const sorts = [
	{ name: 'Recommended', val: 'null' },
	{ name: 'Latest First', val: '-updatedAt' },
	{ name: 'Most Viewed', val: '-views' }
]

export const currency = { symbol: '$', code: 'USD' }
export const IMAGE_CDN_URL = 'https://ik.imagekit.io/3wzatecz51w3i'
export const IMAGE_UPLOAD_API = env.PUBLIC_IMAGE_UPLOAD_API
export const IMAGE_UPLOAD_TOKEN = ''