Mugambi645 / sanity-ecommerce

Ecommerce with next.js and sanity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sanity ecommerce platform

Built with Next and Sanity

SnapShot SnapShot

Build Setup:frontend

# install dependencies
npm install
# create .env file & add url
touch .env & inside env file add environment variables as specified in .env.example
# serve with hot reload at localhost:3000
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report

Build Setup: backend

# navigate to server directory
cd sanity
# install dependancies
sanity install
# start sanity server
sanity start

## 📝 License

This project is free to use

About

Ecommerce with next.js and sanity


Languages

Language:JavaScript 97.8%Language:CSS 2.2%Language:Shell 0.1%