Giter Site home page Giter Site logo

alfredomtx / coupon-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 241 KB

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.

Shell 0.28% Rust 97.36% Dockerfile 2.36%
actix-web mysql rest-api rust

coupon-api's Introduction

๐Ÿฆ€ 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

coupon-api's People

Contributors

alfredomtx avatar

Watchers

 avatar Kostas Georgiou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.