Skip to content

Josehower/e-commerce-project

Repository files navigation

E-commerce-liamty Project

. .

In this repo you have a mobile version of a e-commerce shop with the next features and functionalities:

  • A product page where all the items ar listed
  • A shopping cart page and the function to change the items on it.
  • Checkout page(s) which shows the total and asks for shipping and payment information.
  • A thank you page after a checkout has been completed.
  • The header will show a shopping cart with the current number of items on all pages.
  • you can create new products under /administrador/nuevo-producto page.

This project was created as part of the requirements for the bootcamp UpLeveled Vienna.

How was created?

the technologies used are:

  • Next.js
  • React.js
  • Postgres
  • Psql

Deployed Version

if you want to see the deployed version you can visit, just dont forget to make your screen smaller. Is a mobile version only (for NOW):

SetUp guide

you may also want to work and see the project on LocalHost. Do this following the next steps:

  1. Clone this repo on your local machine

  2. Download and install PostgreSQL.

  1. Create a User and a Database for the project.

  2. Create a copy of the .env-example on the root of the project and modify it with your credentials.

  3. Rename this file to .env .

  4. On the command Line go to the project directory and run:

yarn install
  1. You may also need to install dotenv-cli globally with:
yarn global add dotenv-cli
  1. run the migrations for your local database with:
yarn migrateLocal up
  1. finally run.
yarn dev
  1. enjoy!!!

Deployment Guide into Heroku

  1. create your own repo with your version of the app.

  2. Sign up for Heroku: https://signup.heroku.com/

  3. Create a new App

  4. Choose a name and select the "Europe" Region

  5. Click on the button in the middle called "Connect to GitHub"

  6. Search for your repository in the search box at the bottom of the page and click on the "Connect" button Click on the button for "Enable Automatic Deploys"

  7. Go back to the Overview tab and click on "Configure Add-On"

  8. Search for "Postgres" and select "Heroku Postgres" from the results

  9. trigger a deploy pushing to your github repo and enjoy.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published