SwipeSetups
A rating and review website for computer desk setups (gaming/trading/programming).
Explanations of the technologies used
Tutorials
A couple paragraphs about the general approach you took
- Started with the frontend template
- Built our backend routes to call data from MongoDB
- Connected the frontend and backend after backend API calls were working
Link to your user stories – who are your users, what do they want, and why?
- Any individual with a laptop/desktop that is looking to find inspiration and change up their work/gaming station
- Retail shops looking for the most trending work/gaming stations to style for roadshows.
Link to your wireframes – sketches of major views / interfaces in your application

Descriptions of any unsolved problems or major hurdles your team had to overcome
- Best practices for authentication
- DB schema changes
- Merge conflicts
Installation instructions for any dependencies
Install and run
Frontend:
- In the
client
directory, npm i
.
npm run dev
to start react app.
Backend:
- In the
server
directory, npm i
.
- rename
.env.example
to .env
.
- Run
mongod
with brew services start [email protected]
and check connection with mongosh
.
npm start
to start express server.
Setup from scratch
Frontend:
mkdir client
cd client
npm create vite@latest ./
then choose React framework and JavaScript variant.
- Install dependencies:
npm i react-router-dom
- Install Chakra UI:
npm i @chakra-ui/react @chakra-ui/icons @emotion/react @emotion/styled framer-motion
- Install Tailwind CSS:
npm install -D tailwindcss postcss autoprefixer
then npx tailwindcss init -p
. Then, add the Tailwind directives to root CSS file:@tailwind base;
@tailwind components;
@tailwind utilities;
Backend:
- In root, type
mkdir server
cd server
npm init -y
- In the package.json file:
- Add to scripts:
"start": "nodemon index"
.
- Add below description:
"type": "module",
so that we can use ES6 import/exports instead of require statements.
- Install dependencies:
npm i cors dotenv express mongoose nodemon method-override
- Install cloudinary to handle image urls
npm i cloudinary body-parser