https://github.com/theanujdev/agro-rent-frontend
Frontend of agro rent app built with React, Axios, React-router-dom v6 & Bootstrap
https://github.com/theanujdev/agro-rent-frontend
axios bootstrap react-router-dom reactjs
Last synced: 3 months ago
JSON representation
Frontend of agro rent app built with React, Axios, React-router-dom v6 & Bootstrap
- Host: GitHub
- URL: https://github.com/theanujdev/agro-rent-frontend
- Owner: theanujdev
- License: mit
- Created: 2021-12-07T13:59:34.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-08T12:25:22.000Z (almost 3 years ago)
- Last Synced: 2025-01-16T06:58:18.262Z (4 months ago)
- Topics: axios, bootstrap, react-router-dom, reactjs
- Language: JavaScript
- Homepage:
- Size: 197 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Agro Rent (Frontend)
## Overview
This portal allows users to view available agricultural equipments in their area (using pincode) and rent them.
## Tech Stack
**Client :** React, Axios, Bootstrap, React-router v6
**Server :** Express, Prisma, PostgreSQL
## Features
- Simple bootstrap UI
- Area-wise availability using pincode
- Scalable database using Postgres
- Rent and view products## Run Locally
- Clone the project
```bash
git clone https://github.com/theanujdev/agro-rent-frontend
```- Go to the project directory
```bash
cd agro-rent-frontend
```- Install dependencies
```bash
yarn install
```- Update constants in _src/config/index.ts_ file :
`SERVER_URL`
- Start the server
```bash
yarn start
```> **Note:** You need to run [Agro Rent Backend](https://github.com/theanujdev/agro-rent-backend) server in the background.
## Optimizations
Project structure is optimized for scalability. Along with react components and pages, context hook for global state, react-router routing, axios for API requests have also been used.
## Feedback
If you have any feedback, please reach out at [@theanujdev](https://twitter.com/theanujdev)
## Authors
- [@theanujdev](https://www.github.com/theanujdev)
## License
[MIT](https://choosealicense.com/licenses/mit/)