ποΈ Welcome to the Next.js Online Store repository! π
This repository contains the code for a fully functional online store built with Next.js, Redux, Sanity.io, Auth.js, TypeScript, MongoDB, and Stripe.
- π Next.js: Harness the power of Next.js for server-side rendering, dynamic routing, and data fetching.
- πΌ Redux: Implement efficient state management with Redux Toolkit for seamless data flow across your application.
- 𧩠Sanity.io: Use Sanity.io as a headless CMS to manage and update your website's content effortlessly.
- π Auth.js: Implement secure authentication using Auth.js to protect your online store and provide a seamless user experience.
- π TypeScript: Enhance your code quality and productivity with TypeScript's static typing and powerful features.
- ποΈ MongoDB: Store and manage authenticated user data in a MongoDB database for seamless data persistence.
- π³ Stripe: Integrate Stripe for secure payment processing and provide a smooth checkout experience for your customers.
To get started with the Next.js Online Store project, follow these steps:
- Clone the repository:
git clone https://github.com/laribright/nextjs-sanity-shop.git
Frontend
2. cd frontend
3. Install the dependencies: npm install
4. Set up the required environment variables (see .env.example
file).
5. Run the application: npm run dev
6. Open your browser and visit: http://localhost:3000
CMS
2. cd cms
3. Install the dependencies: npm install
4. Set up the required environment variables (see .env.example
file).
5. Run the application: npm run dev
6. Open your browser and visit: http://localhost:3333
For any inquiries or questions, feel free to reach out to me via email at itslaribright@gmail.com
Let's build something amazing together! π