Welcome to the documentation for the My Awesome Store Management API! This API allows you to manage products, images, and more for your online store.
- 📦 Product Management: Create, read, update, and delete products.
- 🖼️ Image Management: Upload, retrieve, and serve images for your products.
- 📹 Video Management: upload videos for your shop .
- 🔨 Text Management: write text and messages for your products .
- 🔙 Auto BackUp: auto back of your database every 1 h .
- ⚙️ Customizable: Easily customize and extend the API to suit your store's needs.
- 🔒 Security: Includes built-in security features to protect your data.
- 🆕 More : Soon...
To install and run the API locally, follow these steps:
- Clone the repository:
git clone https://github.com/Itzhep/Store-Management-API.git - Install dependencies:
npm install - Configure environment variables (if necessary).
- Start the server:
npm start
- GET
/products: Retrieve a list of all products. - GET
/products/:id: Retrieve details for a specific product. - POST
/products: Create a new product. - PUT
/products/:id: Update an existing product. - DELETE
/products/:id: Delete a product. - GET
/video/:id: Get video by id from database . - GET
/backup/: Get backup from database . - GET
/text/:id: Get Text or Message from Database by id .
http://localhost:3000/productshttp://localhost:3000/products/1234http://localhost:3000/image/:idhttp://localhost:3000/video/:idhttp://localhost:3000/text/:idhttp://localhost:3000/backup/