Work-Stufff / amazon-next

A simple mock and re-concept of Amazon - built with Next.js, Firebase, and Framer Motion

Home Page:https://amazon-next.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amazon Next

Mock and re-concept of Amazon

Author Languages Stars Forks Contributors


Product List

Product List


๐Ÿ“Œ Table of Contents

๐Ÿš€ Features

  • ๐Ÿ›’ Add products to your cart.
  • ๐Ÿ’  Add likes to your favorite products.
  • ๐ŸŽจ Amazing transitions with Framer Motion
  • ๐Ÿ’ฐ  A re-concept of the cart interface from Amazon

๐Ÿ‘ท Installation

You need to install Node.js and Yarn first, then in order to clone the project via HTTPS, run this command:

git clone https://github.com/LauraBeatris/amazon-next.git

SSH URLs provide access to a Git repository via SSH, a secure protocol. If you have a SSH key registered in your Github account, clone the project using this command:

git clone git@github.com:LauraBeatris/amazon-next.git

Install dependencies

yarn install

๐Ÿƒ Getting Started

Run the following command in order to start the application in a development environment:

yarn dev

๐Ÿ“ฎ Faq

Question: What are the technologies used in this project?

Answer: The tecnologies used in this project are NextJS, Firebase Database to retrieve products data and Framer Motion for page transitions.

๐Ÿ”จ Deploy

Zeit provides a easy way to deploy NextJS applications. You may create a now.json file with the build configuration.

{
    "build": {
        "env": {
            "SITE_URL": "@site_url",
            "FIREBASE_API_KEY": "@firebase_api_key",
            "FIREBASE_APP_KEY": "@firebase_app_id",
            "FIREBASE_MEASUREMENT_ID": "@firebase_measurement_id",
            "FIREBASE_MESSAGE_SENDER_ID": "@firebase_message_sender_id"
        }
    }
}

You're able to create secrets with the commands provided by the Now CLI in order to map environment variables,

now secrets add <secret-name> <secret-value>

Use them as the values of the env variables that you want to map inside of the build configuration.

๐Ÿ› Issues

Feel free to file a new issue with a respective title and description on the the Amazon Next repository. If you already found a solution to your problem, I would love to review your pull request! Have a look at our contribution guidelines to find out about the coding standards.

๐ŸŽ‰ Contributing

Check out the contributing page to see the best places to file issues, start discussions and begin contributing.

๐Ÿ“• License

Released in 2020. This project is under the MIT license.

Made with love by Laura Beatris ๐Ÿ’œ๐Ÿš€

About

A simple mock and re-concept of Amazon - built with Next.js, Firebase, and Framer Motion

https://amazon-next.now.sh/

License:MIT License


Languages

Language:JavaScript 97.9%Language:CSS 2.1%