A digital platform and business model where you can buy products online. It was made with next js and stripe payment API for payment processing.
- Next js
- Redux
- Tailwind
- Firebase
- Next auth (authentication)
- Axios
- Stripe
- Vercel (deployment)
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
The following software is required to be installed on your system:
- Node
- Npm
Type the following commands in the terminal to verify your node and npm versions
npm -v
node -v- Clone the repo
git clone https://github.com/Seundede/Nextjs-E-commerce.git
cd Nextjs E-commerce- Install the dependencies
npm install- Create a new firebase project and fill in the .env file in your root directory with the appropriate API keys.
GOOGLE_ID=
GOOGLE_SECRET=
NEXTAUTH_URL=
NEXTAUTH_SECRET=
# Stripe
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
STRIPE_SECRET_KEY=
STRIPE_SIGNING_SECRET=
- Start the development server
npm start- This will open the website in your browser on http://localhost:3000
- Use 4242 4242 4242 4242 as the test card number to make a purchase
- Redux (state management)
- Hero icons (icons)
- Stripe (payment gateaway)
- Tailwind (styling)
- Axios (make HTTP request)
- Firebase (backend)
- Next-auth (authentication)
- React currency formatter (formatting number)
- React responsive carousel (customizable carousel component)
