Skip to content

achraf52/NearbyShops

Repository files navigation

Nearby Shops

Just a simple implementation of a web app that lists nearby shops.

Setup instructions

  • application/config/config.php file: 1: Set '$config['base_url']' to the root directory of the project, starting after the '//' and including any subdirectories as required. 2: Save and close the global config file.

  • application/config/database.php file: 1: Set "$db['default']" array values: hostname, port, username, password, database to your MySQL server settings and project database name. 2: Save and close database config file.

  • /assets/sql/database_schema.sql file 1: Import SQL file to your MySQL database using phpMyAdmin or your favourite database manager. 2: Make sure the database name is the name as what you configured in the database config.

Platforms and frameworks

  • Frontend: Bootstrap 4 with jQuery 3
  • Backend: CodeIgniter 3 on PHP 7
  • Database: MySQL 5 with InnoDB tables

Additional components

  • JS-Cookie library
  • Placeholder API

What is implemented

  • Signup/login using email and password
  • Logout from the logged in user account
  • Display nearby shops sorted by Geolocation distance
  • Display liked shops in a preferred shops page
  • Like a shop (hidden from main/shown in preferred)
  • Dislike a shop (hidden for 2 hours)
  • Remove a liked from (from preferred page)

What is left

None in the technical spec.

Credits

Made by: Achraf Almouloudi

About

Just a simple implementation of a web app that lists nearby shops.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages