A simple-to-use dashboard for tracking revenue, expenses, and salaries for every employee of your small business. Gain insights, see trends and make informed decisions.
Project description and screenshots
- Conveniently enter data for the day or entire week from your phone or desktop
- See total revenue, expenses and salary for each employee for the month, year or all time
- Easily jump between dates to see historical data
- Add employees, set revenue share percentage and base salary - total salary will be calculated automatically
-
Clone this repository:
git clone https://github.com/maxpatiiuk/small-retail-management
-
Install dependencies:
npm i
-
Use security rules in ./firestore.rules for the Firestore database. Modify the
isAuthenticated
function to match your security needs - for example allow only users with certain email addresses to access your application. -
Copy ./example.env.local into
.env.local
and fill it in with values generated in the previous step. -
Enable Firebase authentication and enable Google authentication provider.
npm run dev # start development server
This would start the development server at http://locahlost:3000.
npm run build # begin the build process
npm run start # start production server
This would start the production server at http://locahlost:3000.
Afterward, you can deploy this site at https://vercel.com.
Alternatively, you can configure a reverse proxy (e.x Nginx) that would handle the SSL certificate and forward the requests to port 80, which should be made externally available.