GithubHelp home page GithubHelp logo

speakers-stage's Introduction

Project

Speakers-Stage

Stack Used

  • NodeJs
  • DynamoDB

Note : All API's are Auth Protected

API's Details

URL : localhost:3003/create/user
Method : POST
payload :

{
	"email":"[email protected]",
	"password":"12345600",
	"age":"24",
	"gender":"MALE"
	
}

Functionality : It Register/Create Users into the APP , Contains all Fields Validation.



URL : localhost:3003/login
Method : POST
payload:

{
	"email":"[email protected]",
	"password":"12345600"
}

Functionality : It Login Users into the APP , Contains all Fields Validation.
In Response ==> JWT Token

{
    "status": "true",
    "info": "Successfully Loged In",
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InlvZ2VuZHJhc2F4ZW5hNTZAZ21haW
wuY29tIiwiaWF0IjoxNTU2NDg1NjU2fQ.5BZNEuGfQiHBbfYRlbdJCv4mco96aDibP4Ma-jw_FSY"
}


URL : localhost:3003/create/post
Method : POST
payload:

{
	"post":"Marvel EndGame is breaking all Records"
}

Header : apiKey : JWT_TOKEN_OF_LOGEDIN_USER
Functionality : Logged In user can Create Post



URL : localhost:3003/follow/user/:email
example: localhost:3003/follow/user/[email protected]
Method : GET
Header : apiKey : JWT_TOKEN_OF_LOGEDIN_USER
Functionality : Logged In user can follow some other User



URL : localhost:3003/fetch/post
Method : GET
Header : apiKey : JWT_TOKEN_OF_LOGEDIN_USER
Functionality : Get All Posts of the Logged In User



URL : localhost:3003/fetch/user
Method : GET
Header : apiKey : JWT_TOKEN_OF_LOGEDIN_USER
Functionality : Get All details of the Logged In User



URL : localhost:3003/check/following/:postId
example : localhost:3003/check/following/e8cde1da-ca11-46f7-a357-894058c69fa5
Method : GET
Header : apiKey : JWT_TOKEN_OF_LOGEDIN_USER
Functionality : Checks if the Logged In user Follows the Author of the Passed PostId



URL : localhost:3003/logout
Method : DELETE
Header : apiKey : JWT_TOKEN_OF_LOGEDIN_USER
Functionality : Log Out the User

Author

Yogendra Saxena

speakers-stage's People

Contributors

yogain123 avatar

Stargazers

 avatar

Watchers

James Cloos 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.