Git Product home page Git Product logo

libu-server's Introduction

libu-server

It is the back-end portion of Libu modern library. It is a REST API getting built using Node Js, Express Js and Mongodb as a database.

libu-server's People

Contributors

dhruvdabhi101 avatar sboy99 avatar

Watchers

 avatar  avatar

libu-server's Issues

feat: show auth user

Feature

  • create a route that will authenticate user and will send user details as response

feat: add authentication resource

  • Add a route
  • Add respective controllers
  • Add services :
    • Register
    • Login
    • Logout
  • Add authentication middleware
  • Add authorisation middleware
  • Add JWT ( Json Web Token )
  • Add encryption to password
  • Add password verification
  • Send cookies
  • Enable email verification

feat: Book management system

  1. Create a validation schema
  2. Create an interface
  3. Create a model
{
name:string,
author:string,
description:string,
image:[string],
thumbnail:number, //index
genre:GenreSchemaObjectId,
ISBN:string,
price:number,
ratings:number,
visibility:private|published,
isFeatured:boolean,
createdBy:UserSchemaObjectId,
isDeleted:boolean,
deletedAt:date,
}

Add stock virtual
Also integrate review virtuals
Aggregate ratings

  1. Create controllers

CRUD implementation

  1. Create routes

Routes for review & stock as well along with book route

  1. Plugin to API

fix: resolve password rest

Currently password reset accepts an OTP along with new password. But in real life OTP gets verified first then new reset password window opens.

feat: add functionality to book controllers

Features

  • Add book create method
  • Add book read method
    • integrate query system
    • select, search, filter, sort, limit, pagination
    • get virtual reviews & stock
  • Add book update method
    • stocks should be updated over here
  • Add book delete methods

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.