Skip to content

CusYaBasic/FoodApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Food App

Along with the Food Website, I wanted to make an app for mobile that ran along site for the more modern people who choose apps over a web browser. Funnily enough this app was made way before the site counterpart and was more of a showcase/prototype to show someone I used to work for that I could make them a app and save them money on their just-eat orders via saving money on the commision they take. However I ended up getting a new job and the project became abandoned, althought I wanted to keep working on it I never quite got the time due to working lengthy hours at my other job. This is far from finished and only has basic login, but could serve as a good base for someone to build from.


DISCLAIMER:

  • There was a Config.php that was meant to go along with this that i ended up losing stupidly.. so none of the backend features work such as the login and register account. FOUND THE APP API; Put app_api.php on your webhost and change the database details to yours.
  • There was also minor issues with the login entrybox for the user name and for all entrys on the registerbox.
  • Lastly the app failed to launch using windows and only launched on android, no idea if it worked for IOS as I don't have a IOS device to try it on

Take a look at Food Website, you can use the code from there to link the site and app up together and fix the login with a few edits to this apps code, it's something I might do at a later date if I ever get time.


Features:

  • Full Login and register (broken, missing app_api.php)
  • New Tab with news components and pages
  • Login page
  • Register page
  • Several hidden tabs once you've logged in which are unaccessible

Media:

Login:

News Page:

Register Page:

News Tab:


MySQL:

CREATE TABLE `News` (
  `Title` varchar(100) NOT NULL,
  `Description` varchar(5000) NOT NULL,
  `NewsImage` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

CREATE TABLE `Products` (
  `Name` text NOT NULL,
  `Description` text NOT NULL,
  `Price` float NOT NULL,
  `Icon` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

CREATE TABLE `Users` (
  `FirstName` varchar(255) DEFAULT NULL,
  `LastName` varchar(255) DEFAULT NULL,
  `Telephone` text NOT NULL,
  `Address` text NOT NULL,
  `Email` text NOT NULL,
  `Password` text NOT NULL,
  `Admin` tinyint(1) NOT NULL,
  `Cart` json NOT NULL,
  `Postcode` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


Buy me a coffee:

If you use any part of this and want to thank me you can buy me a coffee at this link

Releases

No releases published

Packages

No packages published