An E-commerce server developed with TypeScript and Express, it allows an admin create Admin or Manager create and update a product, add items to cart etc. API response is a REST API. This is link to the Clientside Repo and Clientside URL
This project is hosted on Heroku.
- TypeScript
- Express
- MongoDB
- Mongoose
- Cloudinary
- Create, update and delete products
- Get all and single products
- Signup or login based on RBAC
- Get all orders
- Get order by singleID
- Get all orders by a user
Clone the project and run yarn dev
or npm run dev
to start the app in development mode.
Clone the project and run yarn start
or npm run start
to start the app for production.
To run this project, you will need to add the following environment variables to your .env file
mongoURI
jwtSecret
PORT
LOG_LEVEL
CLOUDINARY_CLOUD_NAME
CLOUDINARY_API_KEY
CLOUDINARY_API_SECRET
STRIPE_PUBLISHABLE_KEY
STRIPE_SECRET_KEY
Contributions are always welcome!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Author and Developer
- @theRealMrGabi - GitHub
- @theRealMrGabi - Twitter
- @Adegabi Ibrahim - LinkedIn