Giter Club home page Giter Club logo

sergsirko1980 / serhii-backend-trial Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 91 KB

A simple REST application from scratch. using the NestJS framework. The application also uses the nodeJS server API interacting with this: reqres.in Also working with RabbitMQ and sending email messages, working with MongoDB

Home Page: https://youtu.be/v1nu5xKFEl8

JavaScript 6.55% TypeScript 93.45%
mailer mailinator mongodb nestjs nodejs postman rabbitmq typescript mongoose eslint reqres reqres-api rest-api scratch

serhii-backend-trial's Introduction

npm install

npm run start:dev

Open Postman -> https://web.postman.co/

POST http://localhost:3000/api/users Body -> raw -> JSON


{ "id":1, "email":"[email protected]", "first_name":"George", "last_name":"Bluth", "avatar":"https://reqres.in/img/faces/1-image.jpg" }


result(json): Postman -> Response -> Body

result(json file): -> mongodb

result(massage email): -> https://www.mailinator.com/v4/public/inboxes.jsp?to=serhii_test_email_to

result(massage rabbitmq): -> http://localhost:15672/#/queues ( Username: guest, Password: guest )

Queues -> ๐Ÿ‘‰ serhii_test_rmq -> Get Massage(s)


GET http://localhost:3000/api/user/2

result(json): Postman -> Response -> Body


GET http://localhost:3000/api/user/3/avatar

result(base64 link image): Postman -> Response -> Body

result(json file): -> mongodb

result(file image): -> ./src/user/avatars


DELETE http://localhost:3000/api/user/3/avatar

result(no json file): -> mongodb

result(no file image): -> ./src/user/avatars

serhii-backend-trial's People

Contributors

sergsirko1980 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.