https://app.auctionservice.store
Here're some of the project's best features:
- Using IdentityService for login and registration
- Adding and removing vehicles for auction
- Searching and filtering based on conditions
- Users can bid in real-time against others
Technologies used in the project:
- React.js
- Next.js
- ASP .NET Core
- Typescript
- C#
- tailwind css
- PostgreSQL
- MonaoDB
- gPRC
- Polly
- SignalR
- Nginx
- RabbitMQ
- IdentityServer
- Docker
- Kubernetes(K8S)
- Xunit
- Using your terminal or command prompt clone the repo onto your machine in a user folder
git clone https://github.com/renyuan-fei/Auction.git
- Change into the Auction directory
cd Auction
- Ensure you have Docker Desktop installed on your machine. If not download and install from Docker and review their installation instructions for your Operating system here.
- Build the services locally on your computer by running (NOTE: this may take several minutes to complete):
docker compose build
- Once this completes you can use the following to run the services:
docker compose up -d
- To see the app working you will need to provide it with an SSL certificate. To do this please install 'mkcert' onto your computer which you can get from here. Once you have this you will need to install the local Certificate Authority by using:
mkcert -install
- You will then need to create the certificate and key file on your computer to replace the certificates that I used. You will need to change into the 'devcerts' directory and then run the following command:
cd devcerts
mkcert -key-file auctionservice.com.key -cert-file auctionservice.com.crt app.auctionservice.com api.auctionservice.com id.auctionservice.com
- You will also need to create an entry in your host file so you can reach the app by its domain name. Please use this guide if you do not know how to do this. Create the following entry:
127.0.0.1 id.auctionservice.com app.auctionservice.com api.auctionservice.com
Or your can run the bash script, it will help you to write
Windows
On Windows, you need to use a tool like Git Bash, Cygwin, or the Windows Subsystem for Linux (WSL) to run shell scripts. Assuming you're using Git Bash, open it and change to the directory that contains the script:
bash update_hosts.sh
Linux
Open your terminal and navigate to the directory that contains the update_hosts. sh file. You can change to the directory by using the cd command:
chmod +x update_hosts.sh
sudo ./update_hosts.sh
MacOS
For macOS, the process is nearly identical to Linux. Open your Terminal app (found in Utilities). Change to the directory:
chmod +x update_hosts.sh
sudo ./update_hosts.sh