Skip to content

Gloaming02/Used-Car-Trading-System-With-Redis

Repository files navigation

Previous Work

https://github.com/Gloaming02/Used-Car-Trading-System

New Feature

New Functionalities to be used as an in-memory key-value storage:
A shopping cart
To implement the shopping cart I will use a Redis set with the key "Cart:userId", car ids as the values, and a score of the number of cars they want)

截屏2023-12-10 下午5 32 05 截屏2023-12-10 下午5 32 48

Used Car Trading System with MongDB and Redis

Initialize the database

mongorestore --uri "mongodb://localhost:27017" --db UsedCarSystem --drop db/UsedCarSystem

How to Start

npm install
npm start

Login Account for Test

username: admin
password: admin

For More Details of The project:

https://github.com/Gloaming02/Used-Car-Trading-System

Description

This project will modify the database from my previous project (https://github.com/Gloaming02/Used-Car-Trading-System) to a document-based database (Mongo). Also, add the new Feature with Redis

UML

Project 1 UML

ERD

https://lucid.app/lucidchart/77ec093c-ca73-4b17-a061-a19774987c2e/edit?viewport_loc=-1656%2C-648%2C1619%2C994%2C0_0&invitationId=inv_51ce550c-0bb5-4d1a-94fa-e162f91aa9f5

截屏2023-11-29 下午3 47 56

Demo

截屏2023-12-01 下午10 21 52 截屏2023-12-01 下午10 21 45 截屏2023-12-01 下午10 21 24 截屏2023-12-01 下午10 21 15 截屏2023-12-01 下午10 21 08

About

Used car trading platform with login, filtering, and Redis-based shopping cart.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors