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
toclient/.env.local
. - Copy
server/.env.example
toserver/.env
. - Client's environment variable
VUE_APP_ROOT_API
should match server'sSITE_URL
. - On server environment variables
SITE_URL
andPORT
should be compatible. - Navigate to
client
and runnpm run serve
. - Navigate to
server
and runnpm run start
.