- You can browse the products that we have.
- You can search for products by category, price and title
- You can buy products
- You edit your cart by updating product quantity.
- You can remove products from your cart
- You can signup new user.
- You login to the website.
- You need to login to view cart page.
-
You can click the code drop-down menu as illustrated in the picture above and copy the link to clone the repo.
-
Now go to your terminal and type:
git clone <the link here>and then the repo will be cloned to your local machine. -
By now you have to open your IDE -I recommend VSCode- and open the project.
-
Now you need to run the command
npm installto install all the dependencies. -
After that you should setting up the database follow the steps :
- Connect to postgres, by typing
psqlorpgcliin the terminal. - use these commands to create your database
CREATE DATABASE db_name; CREATE USER user_name WITH SUPERUSER PASSWORD 'password'; ALTER DATABASE db_name OWNER TO user_name; - Add a
.envyou can seeexample.envto get idea of what you need to write. - Copy build.sql path
.../server/database/config/build.sqland run this command in terminal\i [build.sql path].
- Connect to postgres, by typing
-
to open a live page from your local machine project, you can run the
npm run devcommand which will open a live server to work with. -
Happy Coding!
- HTML5.
- CSS3.
- JavaScript.
- Nodejs.
- Express.
- PLpgSQL.
- React
