This repository contains the source code for the Kirana Store API.
Endpoint: POST /api/transactions/record
Description: Record a new financial transaction.
Endpoint: GET /api/transactions/list
Description: Retrieve a list of all recorded transactions.
Endpoint: GET /api/transactions/grouped-list
Description: Retrieve a grouped list of transactions by date.
To run the Kirana Store API locally, follow these steps:
- Clone the repository:
git clone https://github.com/mohittk/kiranastore
- Build the project:
./mvnw clean install
- Add db-secrets: Open
application.properties
from/src/main/resources/application.properties
and add db-secrets to the file. - Run the application:
./mvnw spring-boot:run