Skip to content

JalalMitali/NestShop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

38 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Open Source eCommerce Backend ( NestJS )

an e-commerce shop backend implementation written in Typescript powered by NestJS & Node JS.

  • Scaffold Product Routing ๐Ÿ”ฅ
  • Connect MongoDB Database ๐Ÿƒ
  • Implement Authentication โœ‹
  • Modern Shopping Cart ๐Ÿ›’
  • Integrate Stripe Payments ๐Ÿ’ฐ
  • Add Profile Features โ„น๏ธ
  • Add Categorie Feature ๐Ÿ†•
  • Implement Admin Control ๐Ÿ‘‘
  • Deploy to Vercel ๐Ÿฅณ

1. How To Run Locally ?

  1. git clone https://github.com/JalalMitali/MitaliShop-NestJS.git
  2. create MongoDB cluster , create file 'env.local' in root and add the URI ( as in env.example)
  3. install openssl if you haven't yet on Mac use brew install openssl@3 ( HomeBrew )
  4. generate your private key ๐Ÿ” openssl genrsa -out private_key.pem 2048
  5. generate your public key ๐Ÿ”‘ openssl rsa -in private_key.pem -out public_key.pem -outform PEM -pubout
  6. start server yarn start dev --watch
  7. use PostMan โœ‰๏ธ to test API endpoints and auth