Code Monkey home page Code Monkey logo

real-cost's Introduction

Real Cost - E-commerce Shopping Assistant

Logo

The official website is realcost.shop

Table contents
Tech stack
Inspiration
Screenshots
Project Setup

Tech stack

  • NextJS x ReactJS
  • Jotai
  • Next-auth
  • TailwindCSS x HeadlessUI x Ariakit
  • MongoDb

Go to table of contents 🔼

Inspiration

  • The website layout is inspired by my previous comic project Kyotomanga.live
  • Processes and user experience inspired by BeeCost and Lichsugia
  • The UI Components is strongly inspired by Sulton Handaya member of Pelorous Studio team on Dribble

Go to table of contents 🔼

Screenshots

Home Page

home-page

Go to table of contents 🔼

Login Page:

login-page

Go to table of contents 🔼

Product Details Page

product details

Go to table of contents 🔼

Search Page

search-page

Go to table of contents 🔼

Search Page (mobile screens)

search-page-mobile

Go to table of contents 🔼

Flash-sale Page

Flash-sale page

Go to table of contents 🔼

Notifications

notifications

Go to table of contents 🔼

Browse Page

browse-page

Go to table of contents 🔼

Favorites Page

favorites page

Go to table of contents 🔼

Set Notify Conditions

ntf-conditions

Go to table of contents 🔼

Project Setup

  1. Clone this project:
git clone [email protected]:leephan2k1/real-cost.git
  1. Install all dependencies
yarn i

But I highly recommend using this package of utilities to avoid mistaking node modules package manager: antfu/ni

If you already have it installed, just type the following extremely short command:

ni
  1. Environment variables setting
# see: https://github.com/leephan2k1/e-commerce-tracking-server
NEXT_PUBLIC_BASE_URL=<your-backend-endpoint>

# This key serves webPush notify, it must match the key on the server.
# On the server type: npx web-push generate-vapid-keys then store 2 keys to .env and export a public vapid key to client.
NEXT_PUBLIC_VAPID_KEY=<your-public-vapid-key>

# Note: Because i use next-auth You must provide callback uri for facebook and google has the following form: your-domain.com/api/auth/callback/<provider> .Otherwise the authentication won't work!

# Google Oauth2 (See: https://console.cloud.google.com/)
GOOGLE_ID=<your-google-auth-id>
GOOGLE_SECRET=<your-google-auth-secret>

# Facebook Oauth (See: https://developers.facebook.com/apps)
FACEBOOK_CLIENT_ID=<your-facebook-client-id>
FACEBOOK_CLIENT_SECRET=<your-facebook-secret>

# Mongodb: (See: https://www.mongodb.com/atlas/database)
MONGODB_URI=<your-mongodb-uri-endpoint>

# Random Secret (Easy generate: https://generate-secret.vercel.app/32)
JWT_SECRET=<your-jwt-secret>

BC_URL=https://beecost.vn
BC_BASE_API=https://apiv3.beecost.vn

Go to table of contents 🔼

Happy coding!

fun-doge

real-cost's People

Contributors

leephan2k1 avatar trongnhan190901 avatar

Stargazers

 avatar Roman avatar Bằng Nguyễn Viết avatar Quốc Hiệp avatar  avatar

Watchers

 avatar

Forkers

trietly eel1002

real-cost's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.