Skip to content

🐎 Logiciel de gestion de dossiers et de clients du Hameau du Nay en France

Notifications You must be signed in to change notification settings

BahAilime/gestion-du-nay

Repository files navigation

Hameau du Nay Gestion

En francais / in french

Warning

Warning

❗This project is extremely specific to the company I am currently working for and is not a "plug and play" solution for other structures. I am making my code available so that others can benefit from the knowledge and skills I have acquired throughout the development of this application.❗

The project context

From 2003 to 2024, management (of files, clients, quotes, invoices, etc.) at the accommodation center of Hameau du Nay was done through Excel spreadsheets and a lot of "copy-paste" actions. My task was:

  • to create a central software to reduce the number of repetitive tasks
  • to be able to automatically generate statistics based on the data

Run the projet

  1. Install Node.js/npm and Rust.

  2. Install dependencies:

    npm install
  3. Fill in the Firebase connection information from the Firebase console in .env.local following the .env template.

  4. Launch the development server:

    npm run tauri dev
  5. Build for production:

    npm run tauri build

To help you during development

I have made a few components and adjustments to help you in the development process.

  1. In MenuSection.tsx, you can set the "type" prop to be DEV or WIP when you are working on the development and PROD when you are ready

    • DEV means that it is only used in dev and will never be public

    • WIP means that the route will eventually be public, but it is not yet ready

    • PROD means that the route is ready and will be reachable in the production build

    •   <MenuSection text="Tests" type="DEV">
            <MenuItem text="Carte" url="/test/map"/>
            <MenuItem text="Carte + hook" url="/test/maphook"/>
        </MenuSection>
  2. The Debug component and its children won't render in production env

Émilia's note

Hey there! Currently, this software operates with Firebase as its backend, but the long-term plan is to make it 100% independent, free, and open-source. I believe that if I am the one planning the migration from Firebase to something else, it will likely be towards PocketBase, hosted on PocketHost.io for a while, and then eventually on a local server.

About

🐎 Logiciel de gestion de dossiers et de clients du Hameau du Nay en France

Topics

Resources

Stars

Watchers

Forks