Welcome to the Costly project! This software aims to assist restaurants in calculating the costs of their recipes to optimize pricing and manage expenses effectively. This project is still in progress and might evolve in a bigger system with more functionalities or become part of multiple micro-services aimed to help restaurant management. Some aspects might be considered overdesigned because I'm using this project to experiment and put into practice new designs and patterns.
This project is designed to simplify the process of calculating recipe costs for restaurants. By utilizing this tool, restaurant owners and chefs can input the ingredients and quantities used in their recipes to obtain an accurate estimate of the total cost per serving. This information can be invaluable for setting menu prices, tracking expenses, and optimizing profitability.
- Recipe Management: Add, edit, and delete recipes effortlessly.
- Ingredient Tracking: Easily manage and update ingredient information.
- Cost Calculation: Automatically calculate the total cost of each recipe based on ingredient prices.
- Backend: Go (Golang), SQLite
- Frontend: React, TypeScript
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
- Go installed on your system. You can download it from here.
- Node.js and npm installed on your system. You can download them from here.
- Git installed on your system. You can download it from here.
- Air (Live reload for Go apps). You can install it using instructions here.
-
Clone the repository:
git clone https://github.com/pedrotambo/costly.git
-
Navigate to the project directory:
cd costly -
Install backend dependencies:
go mod tidy
-
Install frontend dependencies:
cd front npm install
-
Start the backend server:
air
-
Start the frontend development server:
cd frontend npm start run -
Access the application in your web browser at
http://localhost:3000.
Contributions are welcome! Please feel free to submit issues and pull requests.
This project is licensed under the MIT License.