This is a RESTful API for managing coupons.
- Register and Login the user
- Create, update, access and use coupons
- Create api-keys to access coupons (can be used as third party apis)
-
Clone the repository:
git clone https://github.com/ManoharNaidu/Coupon-API.git
-
Install the dependencies:
npm install
-
Set up the database:
- Create a MongoDB database of yours and use URI in env to access
-
Start the server:
npm run dev
For detailed information on how to use the API, please refer to the /api-docs route after starting the server.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.