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