A marketplace for all Comets to buy and sell items. Only UTD student and faculty can use this platform. It allows for a better experience than what is curretly offered by the UTD app.
[Note: for Windows users, I would recommend getting WSL. TLDR: WSL allows you to run any linux distribution alongside Windows. This is useful for getting a more predictable and consistent experience]
- Windows - https://git-scm.com/download/win
- MacOS - https://git-scm.com/download/mac
- Linux (also applies for WSL) - https://git-scm.com/download/linux
- This will be done by downloading nvm or the node version manager. After getting this tool you will be able to download any version of node and change between them whenever necessary. (For this project I am using the LTS version of Node 18)
- NVM for -
- Windows (without WSL) - https://www.freecodecamp.org/news/nvm-for-windows-how-to-download-and-install-node-version-manager-in-windows-10/
- Windows (with WSL) - https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-wsl
- MacOS - https://tecadmin.net/install-nvm-macos-with-homebrew/
- Linux - https://www.xda-developers.com/how-install-nvm-ubuntu/
- This should be included with the Nodejs installation
- Windows (without WSL) - https://docs.docker.com/desktop/install/windows-install/
- Choose this option even if you have WSL. You can turn on a setting in the app to support WSL - https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-containers
- MacOS - https://docs.docker.com/desktop/install/mac-install/
- Linux - https://docs.docker.com/desktop/install/linux-install/
- Clone the repository
- Open a terminal and navigate to the root directory of the project
- Run
docker compose up, if that doesn't worksudo docker-compose up - Open another terminal and navigate to the
backendfolder - Run
npm install - Run
npx prisma migrate reset - Run
npm run dev - Open another terminal and navigate to the
frontendfolder - Run
npm install - Run
npm run dev - Now you can access the website at
http://localhost:5173in your browser [Note: Auth only works when the website is onlocalhost:5173. If you have multiple instances onnpm run devrunning, Vite will automatically change the localhost number to:5174,:5175, and so on.] - To look at the database
- Open another terminal and navigate to the
backendfolder - Run
npx prisma studio - Now you can see the database in your browser at
http://localhost:5555
- Open another terminal and navigate to the
- To stop the project
Ctrl+Cin the terminal where you rannpm run devin thebackendfolderCtrl+Cin the terminal where you rannpm run devin thefrontendfolderCtrl+Cin the terminal where you randocker compose upin the root directory- Run
docker compose downorsudo docker-compose downin the root directory
- Open the folder in a terminal that was downloaded when you cloned the repository
- Run
docker compose up, if that doesn't worksudo docker-compose up - Open another terminal and navigate to the
backendfolder - Run
npm run dev - Open another terminal and navigate to the
frontendfolder - Run
npm run dev - Now you can access the website at
http://localhost:5173in your browser [Note: Auth only works when the website is onlocalhost:5173. If you have multiple instances onnpm run devrunning, Vite will automatically change the localhost number to:5174,:5175, and so on.] - To look at the database
- Open another terminal and navigate to the
backendfolder - Run
npx prisma studio - Now you can see the database in your browser at
http://localhost:5555
- Open another terminal and navigate to the
- To stop the project
Ctrl+Cin the terminal where you rannpm run devin thebackendfolderCtrl+Cin the terminal where you rannpm run devin thefrontendfolderCtrl+Cin the terminal where you randocker compose upin the root directory- Run
docker compose downorsudo docker-compose downin the root directory
.
├── backend
│ ├── apis
│ ├── prisma
│ └── uploads
├── frontend
│ ├── public
│ ├── src
│ │ ├── assets
│ │ │ └── icons
│ │ ├── components
│ │ └── pages
└── notes
└── frontend