Junaid-sadiq / akknives

Home Page:https://akknives.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About The Project

Akknives is an eCommerce website that minimalistic and simple design lifestyle enthusiasts can buy knives from.

Built With:

Getting Started

Prerequisites

To run this project on your local machine make sure you have the latest package manager installed:

  npm install npm@latest -g

Installation

  1. clone the repo:
   git clone https://github.com/Junaid-sadiq/akknives.git
  1. Install NPM packages
npm install
  1. Create an .env file

This project has four envirement variables:

NEXT_PUBLIC_SANITY_TOKEN = <your_sanity_token_here>
SANITY_PROJECT_ID = <your_sanity_project_id_here>
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY = <your_stripe_publishable_key_here>
STRIPE_SECRET_KEY=<your_stripe_secret_key_here>
  • Sanity.io is an open source headless real-time CMS that you can customize with JavaScript and React, you'll need to create an account there and fill in the first two variables with their respective values.
  • The last two variables are from Stripe, which is a payment processing platform, you'll need to make an account as well and fill in the variables with their respective values.
  1. Run the development server
npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

About

https://akknives.vercel.app

License:MIT License


Languages

Language:JavaScript 71.4%Language:CSS 28.0%Language:TypeScript 0.6%