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/.envtoclient/.env.local. - Copy
server/.env.exampletoserver/.env. - Client's environment variable
VUE_APP_ROOT_APIshould match server'sSITE_URL. - On server environment variables
SITE_URLandPORTshould be compatible. - Navigate to
clientand runnpm run serve. - Navigate to
serverand runnpm run start.
