Skip to content

InsaLan/backend-insalan.fr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d5643b7 Β· Mar 9, 2025
Nov 21, 2024
Jan 24, 2025
Feb 14, 2025
Mar 9, 2025
Nov 3, 2023
Nov 21, 2023
Nov 21, 2024
Nov 21, 2023
Dec 19, 2023
Nov 21, 2024
Dec 8, 2022
Mar 1, 2024
Sep 28, 2023
Apr 15, 2023
Mar 31, 2023
Nov 21, 2024
Oct 29, 2024

Repository files navigation

Insalan backend

Description

This is the backend of the Insalan website. It is a Django and Django rest framework application. It is served by a Nginx server. It is part of the insalan.fr infrastructure and is deployed with the infra-insalan.fr repository.

Contributing

Please read carefully the CONTRIBUTING.md file before any contribution.

Run the backend in local

The backend has to be deployed from the docker-compose setup (so you need to install it!). Please refer to this README

Once the docker-compose is running, you can access the frontend at http://api.beta.insalan.localhost if you are using the default beta configuration.

Architecture

insalan is the root directory of the web application.

pizza, user,... are apps in the Django language. They are micro-services that implement specific features of the application.

For instance, user handles user-related actions (permission, authentication, etc...) and pizza handles the pizza application.

Each apps have their own urls.py file that defines the routes of the app. The endpoints are prefixed by the app name. For instance, the prefix to the pizza app is /api/{version}/pizza