Skip to content

adriceniza/spongebobmerchancrud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Logo

SpongeBob Clothes Shop CRUD

CRUD work for PGV and PGL subjects using spring and ionic.

Table of Contents
  1. About The Project
  2. Getting Started

Built With

(back to top)

Getting Started


Prerequisites

The database its on backend/database/spongebobdb.sql

Open your IDE for Spring and run spring boot app.

To start ionic , open the terminal and write ionic serve.

I hope you like it.

##About the page

2 Tables

I build one table to save all the products we'll sell. This have :
ID
MODEL
PRIZE
IMG
And i build one more table to save all the product we'll add to the basket. This have :
ID
MODEL
PRIZE
SIZE
IMG
UNITS

In the frontend we can't add a product to the basket without having chosen a size before.

This table has no more interaction with the database than the reading of the products.

Its the spongebobbasket table who has all the interaction and the real CRUD , its a dinamic crud , you can add a product from the spongebobclothes table by clicking on the addtobasket button , always after having chosen a size , then in the basket view you see all the products from the basket and there you find the size you had chosen , the units of the product , the prize , the model and the preview image of it ; you also see two buttons one to add a unit of the same product and one to remove a unit of it , also you see a select to change the size if you had make a mistake , and a button to remove all the product of the basket , no matter how much units u have of it , we'll remove all .

In the remove units button if units are 0 or less we remove the product automatically.

Contact

Adrián Ceniza - ceniiziienta@gmail.com

Project Link: https://github.com/adriceniza/spongebobmerchancrud

(back to top)

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published