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.
the technologies used are:
- Next.js
- React.js
- Postgres
- Psql
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):
you may also want to work and see the project on LocalHost. Do this following the next steps:
-
Clone this repo on your local machine
-
Download and install PostgreSQL.
-
Create a User and a Database for the project.
-
Create a copy of the .env-example on the root of the project and modify it with your credentials.
-
Rename this file to .env .
-
On the command Line go to the project directory and run:
yarn install
- You may also need to install dotenv-cli globally with:
yarn global add dotenv-cli
- run the migrations for your local database with:
yarn migrateLocal up
- finally run.
yarn dev
- enjoy!!!
-
create your own repo with your version of the app.
-
Sign up for Heroku: https://signup.heroku.com/
-
Create a new App
-
Choose a name and select the "Europe" Region
-
Click on the button in the middle called "Connect to GitHub"
-
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"
-
Go back to the Overview tab and click on "Configure Add-On"
-
Search for "Postgres" and select "Heroku Postgres" from the results
-
trigger a deploy pushing to your github repo and enjoy.