Giter Club home page Giter Club logo

tales_of_morocco's Introduction

Tales Of Morocco

Join us as we uncover the essence of Morocco, one tale at a time

Project Landing Page

Table of Contents

Introduction

Tales of Morocco is a platform dedicated to delving into the captivating landscapes, diverse culture, and dynamic communities of Morocco. Here, travel enthusiasts can immerse themselves in sharing their travel escapades, culinary discoveries, and accommodation experiences, along with picturesque views.

This projects community serves as a hub where adventurers exchange invaluable recommendations for crafting their next unforgettable Moroccan journey.

Tech Stack

Backend:

  • Python (Framework: Django)
  • JavaScript

Frontend:

  • HTML
  • CSS
  • Javascript
  • Base Design by HTML5 UP

Database:

  • SQLite

Project Structure

Main Files:

  • base/apps.py: Django application configuration.
  • base/forms.py: Form classes for user registration, blog post creation, and profile updates.
  • base/models.py: Database models for users, blog posts, comments, likes, and cities.
  • base/views.py: View functions for rendering HTML templates, handling user authentication, and managing CRUD operations for blog posts and user profiles.
  • base/views.py: URL routing configuration for mapping URLs to view functions.

Templates and Static:

  • base/templates/: Directory containing HTML templates used by Django for rendering pages.
  • static/: Directory for static assets like CSS, JavaScript, and images.

Additional Files:

  • .gitignore: Specifies files and directories to be ignored by version control.
  • requirements.txt: Lists Python dependencies required to run the web app.
  • README.md: This Documentation file that provides comprehensive information about the project.

Virtual Environment:

  • tomenv/: Directory containing the Python virtual environment used for this project.

Features

  • User authentication and registration
  • Create, update, and delete blog posts
  • Like and comment on blog posts
  • Explore blogs by city, cuisine, and accommodation
  • View profiles of other users and their activities

Setup

To run this project locally, follow these steps:

  1. Clone this repository. https://github.com/Elbadil/Tales_Of_Morocco.git
  2. Install the necessary dependencies by running:
    pip install -r requirements.txt
  3. Set up the database by running migrations:
    python manage.py makemigrations
    python manage.py migrate
  4. Run the Django development server:
    python manage.py runserver
  5. Access the application in your web browser at http://localhost:8000.

Usage

Upon launching the application, users can:

  • Register for an account or log in if they already have one.
  • Create new blog posts with details about their travel experiences.
  • Like and comment on blog posts shared by other users.
  • Explore blog posts by city, cuisine, and accommodation preferences.
  • Update their account details and profile picture.
  • View profiles of other users to see their activities and blog posts.

Acknowledgment

This project was developed by Adil EL Bali and Safouane EL Mail. We extend our thanks to the following resources that have been very helpful:

Resources

Contributing

Contributions to improve this project are welcome. Feel free to fork the repository, make changes, and create a pull request.

tales_of_morocco's People

Contributors

elbadil avatar safuan04 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.