Invoice Manager is a web application for managing invoices, payment methods, and services. It includes a frontend built with React and Ant Design, and a backend built with Go and Gin.
/backend
: Contains the backend code./frontend
: Contains the frontend code.
- Node.js
- Go
- PostgreSQL
-
Clone the repository:
git clone https://github.com/daglia/invoice-manager.git cd invoice-manager
-
Set up the backend:
cd backend go mod tidy
-
Set up the frontend:
cd ../frontend npm install
Create a .env
file in both the backend
and frontend
directories with the following content:
DB_HOST=127.0.0.1
DB_PORT=5432
DB_USER=your_username
DB_PASSWORD=your_totally_safe_password
DB_NAME=invoice_db
VITE_API_URL=http://localhost:8080
-
Start the backend server:
cd backend go run main.go
-
Start the frontend development server:
cd ../frontend npm start
-
Open your browser and navigate to
http://localhost:3000
.
This project is licensed under the MIT License.