Table of Contents
- This repository is a back-end for my Amazon-clone front, written by JS using Express.
- You can easily use this for your backend by changing the relevant things.
-
First clone the repository.
git clone https://github.com/Pethum-Jeewantha/express-amazon-clone-api.git
-
Once cloned, open the repository from the IntelliJ IDEA
-
Then run
npm i
(Nodejs required) -
Add dummy items for MongoDB.
-
Add
amazon_jwtPrivateKey
using terminal or cmd.- Ubuntu ->
export amazon_jwtPrivateKey=<key>
- Windows ->
set amazon_jwtPrivateKey=<key>
- Ubuntu ->
-
Finally, run
npm start
- You can use this when you need an API written by JS using Express. This is coded specifically for my amazon clone Frontend.
Copyright © 2022 - present Pethum Jeewantha. All rights reserved.
Licensed under the MIT license.
Pethum Jeewantha - Twitter - [email protected]