GithubHelp home page GithubHelp logo

prasanna-collab / mentor-and-student-assigning-with-mongodb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sathish-kumar-a/mentor-and-student-assigning-with-mongodb

0.0 0.0 0.0 3.02 MB

JavaScript 95.67% CSS 1.25% Pug 3.09%

mentor-and-student-assigning-with-mongodb's Introduction

URL- "https://mentor-assigning-nodemongo.herokuapp.com/"

To Get all students
   URL:<url>/students

To get all mentors
    URL:<url>/mentors

1. To create a mentor
    URL:<url>/mentors/create
    ~ details of mentor to be sent in body

2. To create a student
    URL:<url>/students/create
    ~ details of student to be sent in body

3. To assign a student or multiple students 
    URL:<url>/mentors/:mentorid
    ~ details of student to be sent in body
    ~body format example - 
    {
        "students":[
        {
            "name":<studentName1>,
            "id":"his/her Db id1"
        },{
            "name":<studentName2>,
            "id":"his/her DB id2 "
        }
         ],
        "mentorName":<mentorName>
    }


4. To assign a mentor for particular student

    URL:<url>/students/:studentid
    ~ details of mentor to be sent in body
    ~body format example - 
    {
    "mentor":{
        "name":<changing mentorName>,
        "id":<changing mentor Id>
    },
    "studentName":<studentname>,
    "currentMentorId":<currentMentorId>
}

5. To get all students assigned to a mentor
    URL:<url>/mentors/:mentorid?query=students

mentor-and-student-assigning-with-mongodb's People

Contributors

sathish-kumar-a avatar

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.