ghamry03 / ft_transcendence

0 stars 0 forks source link

Front End Documentation

This documentation provides an overview of the front-end structure, templates, and views for the project. It covers the system used to create front-end elements, explaining how everything connects and comes together.

Table of Contents

File Structure

 main_app
│   ├── frontEnd # This app is where the magic happens
│   │   ├── __init__.py
│   │   ├── admin.py
│   │   ├── apps.py
│   │   ├── models.py
│   │   ├── tests.py
│   │   ├── urls.py # This file is in charge of catching our URLs
│   │   └── views.py # Where the logic for the rendered page goes
│   ├── main_app
│   │   ├── __init__.py
│   │   ├── asgi.py
│   │   ├── settings.py # We must add our sub-apps to the "Installed apps" section
│   │   └── urls.py # Any app URLs must be included in the main
│   ├── static
│   │   ├── css
│   │   │   └── main.css
│   │   └── fonts
│   │       └── ps2p.ttf
│   └── templates
│       ├── gameButton.html
│       ├── home.html
│       └── main.html

File Structure Explained

main_app (Project Directory)

frontEnd (sub-app Directory)

main_app (sub-directory of project directory)

static

templates

Apps Breakdown

main_app

frontEnd

@ommohame @mfirdous @lde-alen @kamin