The Mobile Hour is an ecommerce website built with EJS, Express.js, Bootstrap, and MySQL. It features a fully functional admin dashboard.
Timespent: 52 hours 4 mins
- 🔒 Full customer and admin authentication with encryption
- 📱 Fully responsive on mobile
- 🛍️ Customers can order products
- 🔍 Filter products by price and brand
- 📝 Add, edit, and delete products in admin dashboard
- 👤 Add new admin users in admin dashboard
- ✏️ Edit customers in admin dashboard
- 📜 Changelog that tracks admin changes in dashboard
- 🔎 Filter items in dashboard with searchbar
To run this on your local machine, you will need to have Node.js installed and access to a MySQL database.
- Clone the repository to your local machine
- Import the Database.sql file to phpMyAdmin or your MySQL server
- Start the app using
npm run start
in your console - Check the credentials folder for the account details
- Access the website on port 3001 and enjoy!
The Mobile Hour includes a test suite that ensures the functionality of the app. This test suite includes unit and integration tests written with Jest and Supertest.
To run the tests use the following command:
npm run test