A fully functional E-Commerce site with its own custom CMS/Admin Dashboard that can pretty much configure anything for the storefront.
Storefront
Admin Dashboard
(You won't be able to use Admin Dashboard coz well I am the admin 😎)
Table of Contents
To get a local copy up and running follow these simple example steps.
- npm
npm install npm@latest -g
- Get respective API Keys/ URIs for Clerk(Authentication), Supabase(Postgres DB), Cloudinary(File Uploads). You need to set these up manually.
- Clone the repo
git clone https://github.com/asish918/Web-Shop.git
- Install NPM packages in both the folders separately
npm install
- Enter your API keys in
.env. Refer the.env.examplefiles in both the folders. Again you need to do this separatley. - Generate Prisma types and push to MongoDB
npx prisma generate && npx prisma push - Refer to the
schema.prismafile and try to create some dummy data to see actual results. Make sure the your Clerk, Cloudinary are configured correctly. Image URLs can be accessed from Cloudinary. - Change the
localhostURLs both the envs accordingly. - Create a store as an admin and then use the store id in the
.envof the storefront and append that to..../api/_______ - Also use the same billboard ID in the file
store-front/app/(routes)/page.tsxat line number12 - Run admin server first and then the storefront
npm run devRefer to this visual schema to understand better

Distributed under the MIT License. See LICENSE for more information. Basically you can do whatever the hell you want to with the code 😉
Asish Mahapatra - asishmahapatra918@gmail.com
Project Link: https://github.com/asish918/Web-Shop

