Shopping List
Material themed shopping list.
Made with HTML, CSS, JS, PHP and with ❤️
Introduction
This project's purpose is to make an online shopping list with open-source code.
This is my first project so I appreciate any help or commit.
Live preview
Getting Started
To make your own Shopping List you need a Web Server (you can use XAMPP for local).
Settings.php example
<?php
//TURN ERROR_REPORTING OFF
error_reporting(0);
//MYSQLI connection
$conn = new mysqli("HOST", "USER", "PASSWORD", "DATABASE");
//Make sure website works properly
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
//Language set
$lang = 'en';
//SALT for more security
$salt = 'YOUR VERY UNIQUE CODE';
?>
Installing
- Download the project
- Copy it to your webserver.
- Change $conn = new mysqli("SERVER", "USERNAME", "PW", "DB"); in settings.php
- SERVER to your MySQL server's address (usually localhost)
- USERNAME to your MySQL username
- PW to your MySQL password
- DB to the name of the MySQL database
- Change the $salt to something unique (for example encrypt a word and set it as salt)
- Import the IMPORT.sql file to your MySQL server
- Profit!
Test if it works
To make sure your website works correctly go to YOURWEBSITE.com/list.
If you don't get a plain text with MySQL warnings, then you set your Shopping List webserver up correctly.
Built With
- MaterializeCSS (and JS) - A modern responsive front-end framework based on Material Design
- jQuery - Make JS developement more efficient
Contributing
If you want to contribute just make a pull request and I will test it and if it works i will accept it.
Authors
- Gál Péter - pepyta
See also the list of contributors who participated in this project.
In motion
License
This project is licensed under the MIT License - see the LICENSE file for details