source: README.md

main
Last change on this file was 700e2f9, checked in by 186079 <matej.milevski@…>, 5 days ago

Init

  • Property mode set to 100644
File size: 1.1 KB
Line 
1# iCare
2
3## Project Setup
4
5### Backend Setup
6
7#### Prerequisites
8- Java 25
9- PostgreSQL database
10- Gradle (or use the included Gradle wrapper)
11
12#### Environment Configuration
13
14Copy the `.env.example` file to `.env` and update the values accordingly.
15
16#### Installation & Running
17
181. Navigate to the backend directory:
19 ```bash
20 cd backend
21 ```
22
232. Build the project:
24 ```bash
25 ./gradlew build
26 ```
27 Or on Windows:
28 ```bash
29 gradlew.bat build
30 ```
31
323. Run the application:
33 ```bash
34 ./gradlew bootRun
35 ```
36 Or on Windows:
37 ```bash
38 gradlew.bat bootRun
39 ```
40
41The backend server will start on `http://localhost:8080`
42
43---
44
45### Frontend Setup
46
47#### Prerequisites
48- Node.js (recommended with [bun](https://bun.sh/))
49
50#### Installation & Running
51
521. Navigate to the frontend directory:
53 ```bash
54 cd frontend
55 ```
56
572. Install dependencies:
58 ```bash
59 bun install
60 ```
61 Or with npm:
62 ```bash
63 npm install
64 ```
65
663. Start the development server:
67 ```bash
68 bun start
69 ```
70 Or with npm:
71 ```bash
72 npm start
73 ```
74
75The frontend will start on `http://localhost:3000`
Note: See TracBrowser for help on using the repository browser.