You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-5Lines changed: 26 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,14 +27,34 @@ in front-end:
27
27
28
28
## How to run
29
29
30
-
In root of source you should run your go project
30
+
🚦I included the .env file intentionally in the project so that you can see how the services work and with what settings. Otherwise, it should not be displayed in the project.
31
+
32
+
With Docker🐳:
33
+
34
+
1-Run DB and API service
35
+
```bash
36
+
docker composer up -d
37
+
```
38
+
2- Run nextjs
39
+
```bash
40
+
cd ./frontend
41
+
yarn install
42
+
yarn run dev
43
+
```
44
+
45
+
Manaul✌️:
46
+
47
+
1-Create DB based on .env file(you can change it in .env file)
48
+
49
+
2-In root of source you should run your go project
31
50
```bash
51
+
go mod tidy
32
52
go run main.go
33
53
```
34
-
In root frontend directory you should run your next project
54
+
3-In root frontend directory you should run your next project
35
55
```bash
36
-
npm install
37
-
npm run dev
56
+
yarn install
57
+
yarn run dev
38
58
```
39
59
40
60
## API Reference
@@ -60,7 +80,8 @@ This section tracks the progress of implemented features in project.
60
80
61
81
-[x] Add swagger to project.
62
82
-[x] Add Next-auth to project -> frontend directory.
63
-
-[ ] Add all api response states(success,failure).
83
+
-[x] Add all api response states(success,failure).
0 commit comments