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.❗
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
-
Install Node.js/npm and Rust.
-
Install dependencies:
npm install
-
Fill in the Firebase connection information from the Firebase console in
.env.local
following the.env
template. -
Launch the development server:
npm run tauri dev
-
Build for production:
npm run tauri build
I have made a few components and adjustments to help you in the development process.
-
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>
-
-
The Debug component and its children won't render in production env
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.