Skip to content

A new project I'm working on, a Coupon REST API for OldBot(my other personal project) where I will validate coupons and license discounts. Built with Rust, Actix Web framework and MySQL.

Notifications You must be signed in to change notification settings

alfredomtx/coupon-api

Repository files navigation

🦀 What is this project?

This is a new personal project I'm working on, a Coupon API for OldBot(my other project) where I validate coupons and license discounts.

The main technologies and features are:

  • Rust
  • Actix Web framework
  • Tokio as asynchronous runtime
  • SQLx as "kind of" the ORM
  • MySQL database
  • Redis for caching and storing sessions
  • Docker container
  • Simple Bearer authentication and session validation
  • Unit and integration test for all API endpoints

The application has been deployed on Heroku in a Docker container, and is live at https://coupon-api-oldbot.herokuapp.com/.

Since it requires authentication, you won't be able to interact with it. I will work on a demo version of it where others can interact with it in a test database in the future.

Postman

In this repository, you can also find the Coupon API.postman_collection.json file, which you can import on Postman to have a template for the API calls of all endpoints available.

image

About

A new project I'm working on, a Coupon REST API for OldBot(my other personal project) where I will validate coupons and license discounts. Built with Rust, Actix Web framework and MySQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published