Skip to content

Commit ae9e12e

Browse files
committed
feat: Update README.md
1 parent ae20eca commit ae9e12e

File tree

1 file changed

+27
-19
lines changed

1 file changed

+27
-19
lines changed

README.md

+27-19
Original file line numberDiff line numberDiff line change
@@ -28,41 +28,45 @@
2828
</div>
2929
<br/>
3030

31-
> This is the backend for the cookoff coding portal for the 9th edition of cookoff. (first working portal :skull:)
31+
> CookOff is CodeChef VIT’s flagship competitive coding event that tests the coding skills of developers. This is the backend that powers both the admin and participant portals for CookOff 9.0, serving as the backbone to manage users, questions, test cases, and submissions. Designed for efficiency and scalability, our robust backend simplifies the process of overseeing all competition-related tasks, ensuring smooth operations for both administrators and participants alike. With a focus on user-friendliness, it provides all the necessary tools to facilitate a seamless competitive experience.
3232
3333
---
3434

35-
[![DOCS](https://img.shields.io/badge/Documentation-see%20docs-green?style=flat-square&logo=appveyor)](INSERT_LINK_FOR_DOCS_HERE)
35+
[![DOCS](https://img.shields.io/badge/Documentation-see%20docs-green?style=flat-square&logo=appveyor)](https://documenter.getpostman.com/view/26244894/2sAXqtbgvt)
3636
[![UI](https://img.shields.io/badge/User%20Interface-Link%20to%20UI-orange?style=flat-square&logo=appveyor)](INSERT_UI_LINK_HERE)
3737

3838
## Features
3939

4040
### User
41-
- Sign Up (```/user/signup```)
42-
- Login (```/user/login```)
41+
42+
- Sign Up (`/user/signup`)
43+
- Login (`/user/login`)
4344

4445
### Questions
45-
- Create Question (```/question/create```)
46-
- Get all Questions (```/questions```)
47-
- Get a Question (```/question/{question_id}```)
48-
- Get Question by Round (```/question/round```)
49-
- Update Question (```/question```)
50-
- Delete Question (```/question/{question_id}```)
46+
47+
- Create Question (`/question/create`)
48+
- Get all Questions (`/questions`)
49+
- Get a Question (`/question/{question_id}`)
50+
- Get Question by Round (`/question/round`)
51+
- Update Question (`/question`)
52+
- Delete Question (`/question/{question_id}`)
5153

5254
### Testcases
53-
- Create Testcase (```/testcase```)
54-
- Get Testcases by Question (```/questions/{question_id}/testcases```)
55-
- Get a Testcase (```/testcase/{testcase_id}```)
56-
- Update Testcase (```/testcase/{testcase_id}```)
57-
- Delete Testcase (```/testcase/{testcase_id}```)
55+
56+
- Create Testcase (`/testcase`)
57+
- Get Testcases by Question (`/questions/{question_id}/testcases`)
58+
- Get a Testcase (`/testcase/{testcase_id}`)
59+
- Update Testcase (`/testcase/{testcase_id}`)
60+
- Delete Testcase (`/testcase/{testcase_id}`)
5861

5962
### Submissions
60-
- Submit Testcase (```/submit```)
61-
- Run Testcase (```/runcode```)
63+
64+
- Submit Testcase (`/submit`)
65+
- Run Testcase (`/runcode`)
6266

6367
### Leaderboard
64-
- Get Leaderboard (```/leaderboard```)
65-
68+
69+
- Get Leaderboard (`/leaderboard`)
6670

6771
## Dependencies
6872

@@ -88,21 +92,25 @@ $ cd cookoff-9.0-backend
8892
#### Directions to Run
8993

9094
1. Spin up containers
95+
9196
```sh
9297
$ docker compose up --build -d
9398
```
9499

95100
2. Install sqlc
101+
96102
```sh
97103
$ go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
98104
```
99105

100106
3. Generate sqlc schema and queries
107+
101108
```sh
102109
$ make generate
103110
```
104111

105112
4. Apply migrations
113+
106114
```sh
107115
$ make apply-schema
108116
```

0 commit comments

Comments
 (0)