aboutsummaryrefslogblamecommitdiff
path: root/README.md
blob: 6e69d1c0503614f1bdde3e6c7ef231e8217dde32 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


                                                                            
 









                                                                                                     








                                                                                    
# About this project:

Imaginary e-commerce site made with MongoDB, Express.js, Vue.js and Node.js.

Implementation informations:

- Uses PayPal as payment processors.
- Sets up and captures transactions on server.
- Keeps transaction informations in database together with shipping details, ordered items and buyer.
- Protected API endpoints for inspecting orders, both per user and globally for administrator.
- Protected API endpoints for adding, updating and deleting products.
- Full login and registration system.
- Full cart system.
- User can see their previous orders on front end.

## How to run this project:

- Copy `client/.env` to `client/.env.local`.
- Copy `server/.env.example` to `server/.env`.
- Client's environment variable `VUE_APP_ROOT_API` should match server's `SITE_URL`.
- On server environment variables `SITE_URL` and `PORT` should be compatible.
- Navigate to `client` and run `npm run serve`.
- Navigate to `server` and run `npm run start`.