Skip to content

Chochinize/nextjs_ecommerce

Repository files navigation

Table of Contents
  1. About The Project
  2. Instalation
  3. Built with
  4. Contributing
  5. Contact
  6. Acknowledgments





  • Registrations is enable but you can easly test it with these credentials
test@gmail.com////1234567 demo

admin@gmail.com////1234567 demo root admin
  • For checkout use this credentials:

username ↓

 sb-nmgoy10682524@personal.example.com

password: ↓

 iZL1-iwn

About




Setting up the e-commerce wich is ready to use with integrated paypal terminal




Installation

Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.

  1. Get api from whereever you need here are the links ↓

    1. Get a free API Key for cloudinaru https://cloudinary.com/
    2. Get a free API Key for paypal https://developer.paypal.com/
    3. Get a free API Key for mongo https://account.mongodb.com/
  2. Clone the repo

    https://github.com/Chochinize/nextjs_ecommerce.git
  3. Install the prerequisites

    npm install 
  4. Enter your API as follow

     NEXT_PUBLIC_BASE_URL = 'yourpublic adress' 
     NEXT_PUBLIC_MONGODB_URL = 'you public adress '
     NEXT_PUBLIC_ACCESS_TOKEN_SECRET = 'you public adress '
     NEXT_PUBLIC_REFRESH_TOKEN_SECRET = 'you public adress '
     NEXT_PUBLIC_PAYPAL_CLIENT_ID = 'you public adress '
     NEXT_PUBLIC_CLOUD_UPDATE_PRESET = 'you public adress '
     NEXT_PUBLIC_CLOUD_NAME = 'you public adress '
     NEXT_PUBLIC_CLOUD_API ='you public adress '
    

Built With

This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.

"dependencies": {
    "bcrypt": "^5.0.1",
    "js-cookie": "^3.0.1",
    "jsonwebtoken": "^8.5.1",
    "mongoose": "^6.1.2",
    "next": "12.0.7",
    "react": "17.0.2",
    "react-dom": "17.0.2"
  },
  "devDependencies": {
    "autoprefixer": "^10.4.7",
    "eslint": "8.5.0",
    "eslint-config-next": "12.0.7",
    "postcss": "^8.4.14",
    "tailwindcss": "^3.1.3"
  }

See the open issues for a full list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature)
  3. Commit your Changes (git commit -m 'Add some Amazing')
  4. Push to the Branch (git push origin feature)
  5. Open a Pull Request

Contact

github: https://github.com/Chochinize

Porfolio: https://portfolio-five-flax-33.vercel.app/

Twitter - https://twitter.com/chochinize

(back to top)

Acknowledgments

Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!

(back to top)