Cantiin
About
- This is the an E-Commerce MIT open source project
- It is a website
- E-Commerce
Viewing Cantiin.com : https://www.Cantiin.com You can see and test cantiin by yourself. It is deployed.
Running Cantiin :
In this link on Github, You can see how to get
cantiin up and running.
Github: Ruuning Cantiin
Using Docker :
In this link on Github, You can see how to use cantiin and docker.
Github: Running Cantiin With Docker
Latest Stable Version:
I have made stable releases of Cantiin.
You can see a list of canttin releases, and download
them from this link on Github:
Github-Cantiin Stable releases
Purpose
The purpose behind this project is to prove that I am a web developer.
Used Technologies:
In this project have used this technologies:
frontend technologies:
- HTML
- CSS
- JavaScript
- Bootstrap
- JSON (JavaScript Object Notation)
- AJAX
- Jinja
Backend Technologies:
- Python
- SQLite
- SqlAlchemy (ORM)
- Flask
- Flask-CORS
- RESTful API endpoints
-
HTTPOnly Cookies
To minimize the risk of XSS exploits -
Authentication
Using cookies, username and password -
Authorization
The user can only control the products that he posted
I might use RBAC model in the future, But I didn't use it here -
JWT (JSON Web Tokens)
In each cookie there is a jwt token, to make the authentication -
UnitTest
To Test Python functions and SQLAlchemy Models (I used 112 Tests) -
Postman Collection
To Test API Endpoints
(I used 75 Requests) -
Deployment
- On shared Hosting (Very Stable): cantiin.com/
- On Heroku (Working on the stability of the project):
- Docker
Additional Technologies:
- Git
- Github
Lisence
MIT Lisence
So feel free to copy
this code and make it the foundation of your project.
You can also edit this code, distribute it, redistribute it without
permission or attribution.
What is next?
My Plan for this project is in the issues of the project.
You can checkout the issues tab of the project.
Or press this link:
https://github.com/OmarThinks/Cantiin/issues