Coder Social home page Coder Social logo

lamaparbat / herald-api-server Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 7.68 MB

Herald Backend API Services

Home Page: https://herald-api-server.up.railway.app

JavaScript 97.60% Procfile 0.04% CSS 0.86% HTML 1.50%
express-js mongodb mongoose node-js jwt-authentication pusher-api swagger-documentation bcrypt-hashing-library bcrypt loadash

herald-api-server's People

Contributors

ayush-shrestha1 avatar bishaldali avatar lamaparbat avatar parbhat123 avatar rohankumarmainali avatar shrawankc11 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

herald-api-server's Issues

Login Bug: on both admin and teacher

  • attempts count doesn't work for more than one user
  • unmatched password is not registered to attempt counts
  • only registers if both email and password is incorrect

Registration Security Issue

Any one can create account by simply calling the url. Frontend will check the security to minimize the request call but we too have to implement it to minimize the risk incase of api url being leaked.

Create Project Documentation

Please follow the following steps:

  1. Explain the project briefly
  2. Mention the features and used technologies
  3. Explain the project security and all strength part
  4. Now, explain the code line by line and dont forget to insert the each explained part code in proper format

For documentation styling, please prefer this site: https://www.makeareadme.com/

Wrong validation in routine `PUT` request

API Endpoint: https://dev-herald-server.herokuapp.com/api/v4/admin/updateRoutineData/
When we try to update routine it responds with error:

{
    "success": false,
    "message": "This group has another class in this time"
}

Student API endpoint

  • /student endpoint should return list of all student.
    This endpoint should contain various filters like:
  • courseCode
  • level
  • group
  • name

Add extra Constants + Encapsulate open data

  1. Add extra Constants
  • Routine Status =. ["Running", "Upcoming", "Cancelled", "Postponed", "Completed"]
  • Course Type = ["BIT", "BIBM","MBA"]
  • Block Name = ["HCK","WLV"]
  1. Course Type Validation on Post routine api
  2. Encapsulate all datas

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.