Coder Social home page Coder Social logo

openrank-backend's Introduction

openrank-backend

All Contributors

This is the Back-end repository for the OpenRank project.

You're most welcome for your contributions

Contributing

Want to contribute? Please go through the CONTRIBUTING and CODE OF CONDUCT to know how to contribute to us.

Issues and feature requests

Found some issues/bugs? (or) Do you have any new feature request in your mind? Please look at BUG REPORT for reporting bugs/issues, and use FEATURE REQUEST template to send your feature request.

Want to raise an issue which doesn't fit in above two? Use CUSTOM TEMPLATE

Project setup

cp .env.example .env
npm install

Compiles and hot-reloads for development

npm run start

Contributors โœจ

Thanks goes to these wonderful people (emoji key):

Krushi Raj Tula
Krushi Raj Tula

๐Ÿ’ป ๐Ÿ“–
Bhanu Teja P
Bhanu Teja P

๐Ÿ’ป ๐Ÿ“–

This project follows the all-contributors specification. Contributions of any kind welcome!

openrank-backend's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openrank-backend's Issues

Create Question

As a recruiter, I should be able to create questions so that questions can bee used in test.

  • Recruiter should be able to create Objective Type, Text Type (Long/Short), Programming Question.
  • Question statement should be HTML using wysiwyg editor.
  • Options of Objective Type Qs will be entered and correct options should be marked as answer.
  • For text answers, multiple correct answers can be added to the system.
  • For Programming questions, multiple test files can be uploaded simultaneously. User will categorise them as input and corresponding output. User will also confirm which test cases ar public (shown to user) and which ones are private.

User Role

Is your feature request related to a problem? Please describe.
A user should be able to have different roles(Admin, Candidate, ContestManager, ...etc). Right now there is no way to assign a role to the user.

Describe the solution you'd like

  • Create a separate model as Role.
  • Role will only have one field value which is of type enum(There will also be id. But created_at and updated_at fields are not necessary). This enum should have two entries for now - Candidate and Admin.
  • A user should be able to have many roles.
  • Make sure that user will have a Candidate role when the user registers through api/register route.
  • Add a separate api to add a role to the user (POST /api/users/:id/roles).
  • Add a separate api to remove a role from the user. (DELETE /api/users/:id/roles/:role_id)

Create Test

As a recruiter, I should be able to create a test so that candidates can take test.

  • Recruiter should be able to create test.
  • Each test must have some properties like:
    • start date and time, duration/ end date time, languages allowed, Test Name, Messages (to be shown to candidate), cut copy paste allowed or not and focus change allowed or not.
  • Each test will have 1 or more questions. Questions can be Objective Type / Text Answer / Programming Answer.

Webpage stuck at Hello from API Server

Hi,

I followed the steps and run both python server and node.
On webpage with port 8081, it is stuck on same page. I can't find any navigation.

image

How to proceed further

Update user api

  • Add an api for updating user. ( PUT /api/users/:id)
  • Expect user jwt token as Bearer Token in header.
  • Validate whether id passed and the user fetched from token are same. If not, send 401.

Modify readme.md file

Describe the bug

  1. Readme.md still shows FE resourse as Next.js, please update it to Vue.js
  2. Add clear instructions for Project setup.

Discord Link is invalid

Hello,
I'm not sure where to find the active community for this project, but the discord link is no longer valid.
Thanks,
Alec

Can someone publish a OpenRank docker image to Docker Hub?

Just a thought. Can someone publish a OpenRank docker image to Docker Hub? Seems like it would be a good way to advertise your claim that its easy to setup. It would allow people to instantly try it out.

I was thinking of doing it myself but you probably would rather have your own and not have some random person like me create it right?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.