GithubHelp home page GithubHelp logo

abdallah-khalil / books-library-api Goto Github PK

View Code? Open in Web Editor NEW
32.0 3.0 15.0 14 KB

A starter template for building a restful API with nestjs, nodejs , expressjs , monogdb, mongoose

JavaScript 72.48% TypeScript 27.52%
rest-webservice typescript nodejs nestjs expressjs mongoose mongodb typescipt

books-library-api's Introduction

Books Library API

A book store restful api built with nestjs, nodejs , express , monogoodb , mongoose

Nest Logo

A progressive Node.js framework for building efficient and scalable web applications.

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Start

$ npm run start

People

books-library-api's People

Contributors

abdallah-khalil avatar

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

Watchers

 avatar  avatar  avatar

books-library-api's Issues

About error ocurred

Good morning my friends

About error ocurred

I'm testing this project and the following error is being returned

$ npm run start
Debugger attached.

> [email protected] start /workspace/Abdallah-khalil_Books-Library-API
> nodemon --watch ./src --exec ts-node ./src/index.ts

Debugger attached.
[nodemon] 1.19.4
[nodemon] to restart at any time, enter `rs`
[nodemon] watching dir(s): src/**/*
[nodemon] watching extensions: ts,json
[nodemon] starting `ts-node ./src/index.ts`
Debugger attached.
Debugger attached.

/workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:307
        throw new TSError(formatDiagnostics(diagnosticList, cwd, ts, lineOffset))
              ^
TSError: ⨯ Unable to compile TypeScript
src/book/getBook.middleware.ts (18,49): Property 'params' does not exist on type 'CustomRequest'. (2339)
    at getOutput (/workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:307:15)
    at /workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:336:16
    at Object.compile (/workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:498:11)
    at Module.m._compile (/workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:392:43)
    at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Object.require.extensions.<computed> [as .ts] (/workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:395:12)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:93:18)
    at Object.<anonymous> (/workspace/Abdallah-khalil_Books-Library-API/src/book/book.module.ts:6:1)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Module.m._compile (/workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:392:23)
    at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Object.require.extensions.<computed> [as .ts] (/workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:395:12)
    at Module.load (internal/modules/cjs/loader.js:950:32)
Waiting for the debugger to disconnect...
Waiting for the debugger to disconnect...
[nodemon] app crashed - waiting for file changes before starting...

Thanks in advance to everyone who can contribute.

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.