https://github.com/alejogs4/ecommerce-react
https://github.com/alejogs4/ecommerce-react
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alejogs4/ecommerce-react
- Owner: alejogs4
- License: mit
- Created: 2019-03-01T17:09:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-11T00:09:52.000Z (about 7 years ago)
- Last Synced: 2025-01-16T15:54:17.964Z (over 1 year ago)
- Language: JavaScript
- Size: 2.67 MB
- Stars: 2
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ecommerce-react
We are working on the development of an online art store called VantaBlack. We are using React as frontend framework and GraphQL to build the backend API.
You will be able as user to:
* Register your user.
* Look at the available products.
* Add products to the shooping cart.
* Remove products from the shopping cart.
* Buy the products from the shopping cart.
You will be able as admin to:
* Register products.
* Manage users.
* Manage products.
***
To explore the project you should follow these steps:
* Install [Node.js](https://nodejs.org/es/).
* Install [PostgreSQL](https://www.enterprisedb.com/downloads/postgres-postgresql-downloads).
* Open the pgAdmin (3 or 4).
* Import/Execute the **[database.sql](https://github.com/alejogs4/ecommerce-react/blob/master/backend/database/database.sql)** SQL file:
* Open CMD in 'backend' directory:
```
cd backend
```
* Set up the Node.js server:
```
node server.js
```
* Open CMD in 'frontend' directory:
```
cd frontend
```
* Install all necessary dependencies:
```
npm i
```
* Start the React application:
```
npm run start
```
* Now you can access to the page!
http://localhost:3000