Skip to content

full stack e-commerce website built with next js for both front-end and back-end

Notifications You must be signed in to change notification settings

Asrat001/nextjs_e-comm-

Repository files navigation

Build Nextjs ECommerce Website with Chapa Integration

  • Tech: Nextjs 13, Next Auth 4
  • UI: Tailwind, chart.js, react-chartjs
  • DB: MongoDB, Mongoose
  • Payment: PayPal, chapa
  • Content Hosting: cloudinary
  • Deploy: Github, Vercel, MongoDB Atlas

What I Used

  • NextJS basics like setting up project, navigating between pages and data fetching
  • NextJS advanced topics like dynamic routing, image optimization,  SSG and SSR
  • Tailwind CSS framework to build responsive website using custom theme, animation and carousel
  • ReactJS including decomposing components, context API and hooks
  • Next Auth package to authenticate customers and admin users
  • MongoDB and Mongoose to save and retrieve data like products, orders and users
  • PayPal developer api to make online payment
  • Deploy web applications on servers like Vercel Netlify and onrender

Run Locally

  1. Clone repo

     $ git clone git@github.com:basir/next-tailwind-amazona.git
     $ cd next-tailwind-amazona
  2. Create .env File

    • duplicate .env.example and rename it to .env
  3. Setup MongoDB

    • Local MongoDB
    • Install it from here
    • In .env file update MONGODB_URI=mongodb://localhost/amazona
    • OR Atlas Cloud MongoDB
    • Create database at https://cloud.mongodb.com
    • In .env file update MONGODB_URI=mongodb+srv://your-db-connection
  4. Install and Run

    $ npm install
    $ npm run dev
    
  5. Seed Data

  6. Admin Login

About

full stack e-commerce website built with next js for both front-end and back-end

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published