Swap-Client
Swap is a web-app to sell and buy used products for students.
Demo
Screencast.from.02-09-22.12.02.14.AM.IST.webm
Features
sign-in using google
listing for sell product
browse all listed products
filters for listed products
logout
Tech Stack
CSS3
Javascript
React
Pre-Requisite
- Make sure you have an google OAouth client ID. How to get client ID ?
- Create an .env file in the root directry
- And write
REACT_APP_GOOGLE_CLIENT_ID=<your client id here >
Setting Up
- Fork the repo to your account.
- Clone the repo to your local computer
git clone <fork url>
- Make sure Node js is installed on your machine (
Node >= 14.0.0 and npm >= 5.6
) - cd into the project directory and run
npm install
- Now run
npm start
- Open http://localhost:3000 on a browser.
Folder Structure
├── src/
├── components/ code for components
├── pages/ code for the pages
├── contex/ belongs to usercontex