Git Product home page Git Product logo

week-10-resyanac's Introduction

RESYANA CAHYANITA

INTRODUCTION

Hello, Resya here! 23 years old girl in +8 GMT (East Borneo) timezone. I am a Tax Collector and software engineer.

RESTful API for Transfer Request Management

This 10th week project is a RESTful API built with Node.js, Express.js, MongoDB Atlas, and Swagger. It facilitates the interaction between two distinct roles: the "maker" and the "approver." The primary goal of this API is to manage transfer requests efficiently, ensuring data integrity and security.

Features

  • CRUD Operations: The API supports Create, Read, Update, and Delete (CRUD) operations for two distinct collections: Users and Transfers.

  • Role-Based Access: Users are categorized into "maker" and "approver" roles, each with specific permissions and access levels.

  • Swagger Documentation: Comprehensive API documentation is available via Swagger UI, making it easy for developers to understand and interact with the API.

  • MongoDB Atlas Integration: Data is stored in MongoDB Atlas, providing scalability, reliability, and ease of management.

Usage

  • Access the API documentation and test the endpoints using Swagger UI at http://localhost:3000/.

API Endpoints

Users

  • GET /: homepage.
  • GET /users/users: Retrieve all users.
  • POST /users/register: Register a new user.
  • POST /users/login: Login a new user.

Transfers

  • GET /auth/: Retrieve all transfer requests.
  • POST /auth/transfer: Create a new transfer request.
  • PUT /auth/transfer/:id: Update an existing transfer request by ID.
  • DELETE /auth/transfer/:id: Delete a transfer request by ID.

Screen Shot 2023-08-26 at 12 13 56

Screen Shot 2023-08-25 at 23 47 30

Screen Shot 2023-08-26 at 00 34 06

week-10-resyanac's People

Contributors

resyanac avatar reyapr avatar

Watchers

Alvian Zachry Faturrahman avatar

Forkers

resyanac

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.