It is created using Node Js, Typescript, React Js, Redux, MongoDB, Firebase, Express Js, Saas and Stripe for payment gateway. It is a full stack application where users are authenticated with Firebase and their information is stored in MongoDB. There are two types of users. One is admin and other is customer. Admin can list the products, delete products/users, update products and also update the status of products like Shipped, Delivered etc. Customers have to login and search for their products after this they add the desired products to cart. Then they go to cart and Checkout from there. The order is finally placed after entering the shipping details and payment details.
-
Open the terminal in
server
folder and runnpm install
-
Create a new
.env
file in server folder and add the environment variables as mentioned in.env.sample
file -
Please create and
uploads
folder in root directory -
Run
npm run dev
to start the server
-
Open terminal
client
folder and runnpm install
-
Create a new
.env
file in client folder and add the environment variables as mentioned in.env.sample
file -
Run
npm run dev
to start the frontend