Skip to content

anudeep-madishetty/API_2.0

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

API_2.0

This repo contains all the code required for the Postman API 2.0 Workshop πŸ˜ƒ

Tech Stack

M - MongoDB E - Express R - ReactJS N - NodeJS

Project Structure

  • backend - This folder contains all the backend related code while includes Server code, APIs and middlewares

  • workshop-frontend - This frontend contains all the frontend related code.

HOSTED URLs

The backend and frontend of this repository is hosted separately and you can find it at the below links -

Add your detail to the live website

Please follow the below steps in order to ee your details at https://workshop-frontend.netlify.app/

  1. Visit postman web at https://web.postman.co/

  2. Register Yourself πŸ–₯️

    Please follow the below steps to register yourself -

    • Select the Request type sas POST
    • Put the URL as https://api-workshop-backend.herokuapp.com/api/register
    • Select Body -> JSON(from type dropdown) and fill teh below details in there
    {
       "name": "",
       "email": "",
       "password": "",
       "confirm_password": ""
     }
    
    
    • Click on the send button
    • You should get a status of 200 showing that your request is done correctly

please see the below screenshot to take the reference of the input and output data

register api

  1. Login Yourself πŸ”

    Please follow the below steps to register yourself -

    • Select the Request type sas POST
    • Put the URL as https://api-workshop-backend.herokuapp.com/api/login
    • Select Body -> JSON(from type dropdown) and fill teh below details in there
    {
       "email": "",
       "password": ""
     }
    
    • Click on the send button
    • You should get a status of 200 showing that your request is done correctly

please see the below screenshot to take the reference of the input and output data

login api

  1. Add your details to the Database πŸ’Ύ

    Please follow the below steps to register yourself -

    • Select the Request type sas POST
    • Put the URL as https://api-workshop-backend.herokuapp.com/user/add-user
    • Select Body -> JSON(from type dropdown) and fill teh below details in there
    {
       "name": "",
       "description": "",
       "anything_for_world": ""
     }
    
    • Click on the send button
    • You should get a status of 200 showing that your request is done correctly

please see the below screenshot to take the reference of the input and output data

login api

  1. Visit the webiste and see your details added in there πŸ˜„

Please feel free to come up with a issue/PR if you think this repository needs any kind of improvement!

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.5%
  • CSS 12.2%
  • HTML 11.3%