Skip to content

techiemanish/restful-api-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@Author : https://github.com/techiemanish

This is RESTful API with CRUD operation:

Techonology used: MonogoDB, Express.js, Node.js, AWS
API Endpoint: /employees

Project Live Link: https://replit.com/@techiemanish/restful-api-crud

Application Source Code: https://github.com/techiemanish/restful-api-crud

Docker image: https://hub.docker.com/r/techiemanish/restful-api-crud
Container Port: 3000

docker pull techiemanish/restful-api-crud
docker run -it -p 5000:3000 --name myapp techiemanish/restful-api-crud

Before sending any request to the api, first click on the above link and run the project on live envoirnment, then feel free to test this RESTful API.


  1. For Get request to API: [Request type = GET]
    https://restful-api-crud.techiemanish.repl.co/employees
    OR
    To find the particular employee with id:
    https://restful-api-crud.techiemanish.repl.co/employees/id

2. For Post request to API: [Request type = POST]
https://restful-api-crud.techiemanish.repl.co/employees
{
    employee_id : "1100",
    employee_name : "Manish Tiwari",
    employee_salary : "750000",
    employee_age : "22"
}
OR
Use the frontend and submit the Form
  1. For PUT request to API: [Request type = PUT]
    https://restful-api-crud.techiemanish.repl.co/employees/id
    Body for the request while sending the request: For example:
{
    employee_id : "1100",
    employee_name : "Manish Tiwari",
    employee_salary : "750000",
    employee_age : "22"
}
  1. For Delete request to API: [Request type = Delete]
    https://restful-api-crud.techiemanish.repl.co/employees/id

About

A dockerized node.js application having the REST API with CRUD operations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors