Giter Site home page Giter Site logo

client-api's Introduction

CRM Client side API

This api is a part of create CRM Ticket system with MERN stack from scratch tutorial series. Link for the series is https://youtu.be/XWbEzWSKBfs

How to use

  • run git clone https://github.com/DentedCode/client-api.git
  • run npm install
  • run npm start

Note: Make sure you have nodemon is installed in your system otherwise you can install as a dev dependencies in the project.

API Resources

User API Resources

All the user API router follows /v1/user/

# Routers Verbs Progress Is Private Description
1 /v1/user GET Done Yes Get user Info
2 /v1/user POST Done No Create a user
3 /v1/user/login POST Done No Verify user Authentication and return JWT
4 /v1/user/reset-password POST Done No Verify email and email pin to reset the password
5 /v1/user/reset-password PATCH Done No Replace with new password
6 /v1/user/logout DELETE Done Yes Delete user accessJWT

Ticket API Resources

All the user API router follows /v1/ticket/

# Routers Verbs Progress Is Private Description
1 /v1/ticket GET Done Yes Get all ticket for the logined in user
2 /v1/ticket/{id} GET Done Yes Get a ticket details
3 /v1/ticket POST Done Yes Create a new ticket
4 /v1/ticket/{id} PUT Done Yes Update ticket details ie. reply message
5 /v1/ticket/close-ticket/{id} PATCH Done Yes Update ticket status to close
6 /v1/ticket/{id} DELET Done Yes Delete a ticket

Tokens API Resources

All the user API router follows /v1/tokens

# Routers Verbs Progress Is Private Description
1 /v1/tokens GET Done No Get a fresh access JWT

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.