Code Monkey home page Code Monkey logo

push-notification-api's Introduction

NestJS

Push Notification API

This API is used for assigning device to customer and sending notifications.

Technology stack

  • Node JS
  • NestJS framework. It provides a great way to build Node JS app
  • TypeScript
  • Firebase
  • Mongo
  • Testing by using:
    • SuperTest
    • Jest
    • Nock

How to use

$ git clone https://github.com/mukeshrawat02/push-notification-api.git <project>
$ cd <project>
$ npm install

Use one of the following to build and test:

npm run dev        # Run it directly with 'ts' file 
npm run build      # Build the project using the 'tsc' compiler.
npm start          # Run it from converted 'js' file from 'ts'
npm test           # Run unit test cases
npm run test:cov   # Generate test coverage report
npm run test:e2e   # Run end to end test flow

The API will run on default 3000 port which can be change in \src\main.ts For make this working please add your firebase configuration in \config\firebase-configuration.ts

Swagger UI

Swagger is active by default so when server is up you can see the API definition on http://localhost:3000/api

Alt text

push-notification-api's People

Contributors

mukeshrawat02 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

Watchers

 avatar  avatar  avatar  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.