Skip to content

πŸ› Los Blancos E-Commerce with payment gateway ,shipping cost and CMS (Content Management System). Next.js Scss MongoDB [finish] [deploy]

Notifications You must be signed in to change notification settings

anwarhakim31/LosBlancos

Repository files navigation

LosBlancos

E-commerce

School Management System

About

LosBlancos is a cutting-edge e-commerce platform designed to offer a seamless shopping experience while empowering store administrators with a robust Content Management System (CMS). The platform integrates a secure payment gateway for smooth transactions and includes real-time shipping cost calculation, ensuring customers can easily view the total price before completing their purchase.

LosBlancos enhances user interaction with a dynamic real-time dashboard, giving administrators instant insights into crucial activities such as stock availability and new customer orders. The platform's notification system promptly alerts administrators when a product is out of stock or when a new order is placed, ensuring efficient management and timely responses.

Additionally, LosBlancos integrates Raja Ongkir, a popular shipping cost service, allowing customers to calculate accurate shipping fees based on their location. This ensures transparent pricing and provides a smooth checkout experience for both customers and administrators.

Screenshots

Macbook-Air-los-blancos vercel app (1) Macbook-Air-los-blancos vercel app (2)
Macbook-Air-los-blancos vercel app (3) Macbook-Air-los-blancos vercel app (5)
Macbook-Air-los-blancos vercel app (6) Macbook-Air-los-blancos vercel app (7)
Macbook-Air-los-blancos vercel app (10) Macbook-Air-los-blancos vercel app (11)

The dependencies that this project uses:

Frontend

-scss: for stayling

-React Hook Form: For Form validation

-axios-interceptors: For making HTTP requests

-rechart js: For making chart

-Redux Toolkit : For State management feature

-next-auth : For authentication

-Sonner : For toast notification

-socket.io : For real-time data transmission.

-lucide: icon

-jest: unit testing

Backend

-mongoose: For interacting with MongoDB

-bcryptjs: For hashing passwords

-jsonwebtoken: For authentication

-next-auth:For authencatication

-cloudinary: for upload image

-midtrans: for payment gateway

-nodemailer: for send email

-express: For creating the server-socket

-socket-io: For real-time data transmission.

Third Party

Prerequisites

Before you begin, ensure you have the following installed on your machine:

Getting Started

  1. Clone the repository:

    git clone https://github.com/anwarhakim31/LosBlancos.git
  2. Navigate to root project directory and install depedencies:

    cd LosBlancos
     npm install
  3. Navigate to socket-server directory and install depedencies

    cd socket-server
    npm install

Setup Environment

  1. Create a .env file in the root next.js of your project.

NEXT_PUBLIC_PROCESS = development

DATABASE_URL =

NEXTAUTH_SECRET =

NEXTAUTH_URL=http://localhost:3000

NEXT_PUBLIC_BASE_URL = /api

GOOGLE_OAUTH_CLIENT_ID =

GOOGLE_OAUTH_CLIENT_SECRET =

NEXT_PUBLIC_CLOUD_PRESET =

NEXT_PUBLIC_CLOUD_NAME =

NEXT_PUBLIC_CLOUD_APIKEY =

NEXT_PUBLIC_CLOUD_SECRETKEY =

//binderbyte untuk mengambil provinsi, kota BINDERBYTE_KEY =

RAJAONGKIR_KEY =

MIDTRANS_SECRET_SERVER_KEY =

MIDTRANS_BASE_URL = https://api.sandbox.midtrans.com/v2

NEXT_PUBLIC_SOCKET_URL = http://localhost:4000

NEXT_PUBLIC_DOMAIN = http://localhost:3000

EMAIL_ADMIN =

PASSWORD_APLIKASI_EMAIL =

  1. Create a .env file in the server-socket of your project.

ORIGIN = http://localhost:3000

MONGODB_URL =

Development

  1. To start the root , run:

    npm run dev
  2. To start the socket-server run :

    npm run dev

Deployment

Deploy the dist directory to your hosting platform of choice.

About

πŸ› Los Blancos E-Commerce with payment gateway ,shipping cost and CMS (Content Management System). Next.js Scss MongoDB [finish] [deploy]

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published