It's a clone of codewars/hackerrank/leetcode, but for students in my university
DEMO: http://51.15.239.35
Admin credentials: admin:admin
Common user credentials: user:user
- Login as admin
- Create groups of students
- Create students
- Create tasks and tests
- Combine different tasks into one work
- That's all. Login as common user and enjoy coding
- Clone repo
git clone https://github.com/mihailkuzmin/testing-system
- Install dependencies
npm install
- Build frontend
npm run build:client
- Build backend
npm run build:server
- Install PostgreSQL
- Init database with
setup
&init
scripts fromdist/backend/server/db
- Configure
nginx
for serving frontend fromdist/frontend
- Add nginx
proxy_pass
for/api
routes to the address that backend listening (default islocalhost:5000
) - Configure a server with
config.json
Now you can run server with node: cd dist/backend/server && node -r tsconfig-paths/register index.js
or use pm2: cd dist/backend/server && pm2 start index.js --node-args="-r tsconfig-paths/register"