1
1
# super-coder
2
+
3
+ -------------------------------------------
4
+ ## Problem Statement:
2
5
Our idea is to create a common platform, a kind of online judge
3
6
where admin/professor can host their contest in which they will set various problems of
4
7
various difficulty involving concepts of various data structures and algorithms.
@@ -12,3 +15,52 @@ regarding the various problems involving various concepts of different algorithm
12
15
data structures by writing blogs on the platform which will also receive the feedback of
13
16
students and students will also have the freedom to exchange their thoughts between
14
17
themselves thereby resulting in the upliftment of overall coding culture of the institute.
18
+
19
+
20
+ ## APIs Used:
21
+ - [ Judge0] ( https://judge0.com/ )
22
+
23
+
24
+ ## Requirements:
25
+
26
+ - NodeJS v12+ with NPM
27
+ - Git
28
+
29
+ -------------------------------------------
30
+
31
+ ## Installation:
32
+
33
+ Clone and Install Packages
34
+ ``` bash
35
+ git clone https://github.com/Ozric-Ode/super-coder
36
+ npm install
37
+ ```
38
+
39
+ Create `` .env `` file
40
+
41
+ ``` env
42
+ PORT=3000 // Your preferred port for running the super coder locally.
43
+ JUDGEZERO_API_KEY=
44
+ JWT_KEY=//your preferred key
45
+ DB_HOST=localhost // Host where Database is added
46
+ DB_USER=// your DB username
47
+ DB_PASSWORD=// YOUR DB PASSWORD
48
+ DB_NAME=SUPERCODER
49
+ ```
50
+ Databse Installation
51
+ ```
52
+ The dump file is located in our repository.
53
+ Open cmd in the bin folder of MySQL Server (for eg. -cd C:\ProgramFiles\MySQL\MySQL Server 8.0\bin)
54
+ Restore our database ‘SUPERCODER’ from where you downloaded the dump file of our database.
55
+ Run this command:- >mysql -u root -p supercoder < "{Location where you downloaded the sql dump file}”
56
+ Our Database of SUPERCODER will be added to your local host server of mysql on your machine.
57
+ ```
58
+ -------------------------------------------
59
+
60
+ ## Running:
61
+
62
+ ``` bash
63
+ node ./src/index.js’
64
+ ```
65
+
66
+ ### To preview the app, visit `` http://localhost:3000/ ``
0 commit comments