The Little Lemon Web Site was developed as the project for the Meta Back-End Developer course, following the 'Back-End first' development approach.
The website's development process begins by prioritizing the server-side logic, database interaction, the API implementation, and token-based authentication. These foundational elements lay the groundwork for a robust and efficient web application. Here's a breakdown of each aspect:
The images above show the functionality of some of the endpoints supported by the API.
Once the API was implemented, the next step was to use Django's templates to render dynamic websites with the use of Django Template Language (DTL) and the DRY (Don't Repeat Yourself) principle to avoid code redundancy.
This was achieved by creating a 'Base' template, a 'Header' and 'Footer' templates, and individual page templates.
The images above show the outcome of the Little Lemon website.
NOTE: While the course covers Full Stack development, its emphasis primarily lies on back-end development. Consequently, certain elements of the website —such as the layout code, restaurant name, 'about us' details, menu item images, and descriptions— were supplied directly by the course material.