Code Monkey home page Code Monkey logo

api_2.0's Introduction

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 see 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-2-0-5hx9.onrender.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-2-0-5hx9.onrender.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-2-0-5hx9.onrender.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!

api_2.0's People

Contributors

irfan-ansari-au28 avatar kajol-kumari avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.