CloakedCommerceDB is an anonymous barter platform that allows users to securely exchange goods without revealing personal identities. Built with Node.js, MySQL, and plain frontend technologies, it supports anonymous transactions via unique hash keys and enforces access control through user roles.
- Secure user registration and login with hashed passwords
- Automatic generation of anonymous hash keys for all users
- Anonymous barter listings using partner hash keys
- Session-based access control and authentication
- Admin dashboard with role-based access
- Navbar updates based on user login and role
- Interface to create and view active barter posts
- Node.js
- XAMPP (for Apache, MySQL, and phpMyAdmin)
git clone https://github.com/B-Proctor/CloakedCommerceDB
cd cloakedcommercecd backend
npm install- Open XAMPP and start Apache and MySQL.
- Go to http://localhost/phpmyadmin in your browser.
- Import the file
cloakedcommerce.sql. - Ensure the database
cloakedcommerceand all its tables are created.
npm startThis runs the server at:
http://localhost:3000
Open your browser and go to:
http://localhost:3000
(IF THIS CAUSES ERRORS THIS PORT MAY NOT BE OPEN AND NEEDS TO BE UPDATED IN SEVER.JS)
CloakedCommerceDB/
├── backend/
│ ├── routes/
│ │ ├── auth.js
│ │ ├── barter.js
│ │ ├── admin.js
│ │ └── dashboard.js
│ ├── server.js
│ └── db.js
├── frontend/
│ ├── index.html
│ ├── listings.html
│ ├── login.html
│ ├── register.html
│ ├── admin.html
│ ├── home.html
│ ├── style.css
│ └── navbar.js
├── cloakedcommerce.sql
└── README.md
- trader: Can post listings and view available matches.
- admin: Has access to admin-only functions and management dashboard.
For questions or feedback, contact:
Braydyn Proctor or Owen McDaniel