Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amanmalviya22/wasserstoff-fullstackinterntask
Auction Management and Bidding System This project is a Node.js-based microservices application for managing auctions and user bidding. It consists of two main services: User Management and Auction Management.
https://github.com/amanmalviya22/wasserstoff-fullstackinterntask
bcrypt dotenv express jsonwebtokens mongodb mongoose nodejs
Last synced: 25 days ago
JSON representation
Auction Management and Bidding System This project is a Node.js-based microservices application for managing auctions and user bidding. It consists of two main services: User Management and Auction Management.
- Host: GitHub
- URL: https://github.com/amanmalviya22/wasserstoff-fullstackinterntask
- Owner: AmanMalviya22
- Created: 2024-08-27T07:06:33.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-08-27T11:17:50.000Z (2 months ago)
- Last Synced: 2024-09-27T12:20:59.487Z (about 1 month ago)
- Topics: bcrypt, dotenv, express, jsonwebtokens, mongodb, mongoose, nodejs
- Language: JavaScript
- Homepage: https://documenter.getpostman.com/view/28291997/2sAXjGcuFK
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### TASK 4 : Microservices for User Management and Auction Bidding System
This project is a Node.js-based microservices application for managing auctions and user bidding. It consists of two main services: User Management and Auction Management.## Table of Contents
### Features
### Project Structure
### Installation
### Environment Variables
### Usage
### API Documentation
Contributing
License### Features
User Management: Handles user registration, login, and authentication.
Auction Management: Allows administrators to create, update, and manage auctions.
Bidding: Authenticated users can place bids on active auctions.
Admin Panel: Admin users can view all auctions and user data.
Token-based Authentication: Ensures secure access to resources.### Project Structure
```bash
├── controllers
│ ├── authController.js
│ ├── userController.js
│ ├── auctionController.js
│ └── bidController.js
├── middlewares
│ ├── auth.js
│ ├── apiSecret.js
├── models
│ ├── User.js
│ ├── Auction.js
│ └── Bid.js
├── routes
│ ├── authRoutes.js
│ ├── userRoutes.js
│ ├── auctionRoutes.js
│ └── bidRoutes.js
├── config
│ └── db.js
├── .env
├── server.js
├── package.json
└── README.md
```### Installation
1. Clone the repository:
```bash
git clone https://github.com/yourusername/auction-management-system.git
cd auction-management-system
```2.Install dependencies:
```bash
npm install
```3.Set up environment variables:
Create a .env file in the root directory with the following content:
```bash
PORT=5000
MONGODB_URI=mongodb://localhost:27017/auctiondb
JWT_SECRET=your_jwt_secret
ADMIN_API_SECRET=your_admin_api_secret
```4.start the server
```bash
npm start or node app.js
```### API Documentation
you can see my postman documentation for it. Here is the uri of it.https://documenter.getpostman.com/view/28291997/2sAXjGcuFK