Coder Social home page Coder Social logo

buildforsdg / team-011-frontend Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 2.0 22.41 MB

Farmlord is solution that connects Landowners to Farmers, allowing them rent/lease farmlands for their next farming season.

Home Page: https://farmlord.netlify.app

JavaScript 3.41% TypeScript 6.10% HTML 4.92% CSS 85.57%
angular angular-material andela typescript kamar protractor-e2e-test codacy

team-011-frontend's Introduction

Farmlord

Codacy Badge build status

This application is an innovative solution for connecting subsistent farmers to land owners. It offers the farmers the opportunity to rent the lands or lease at affordable prices. We've built a solution that will help Farmers maximize their productivity and output every harvest by providing the most important resource every Farmer needs - Farmland Real Estate. Landowners that own Farmlands that laying unutilized benefits from this solution simply by enrolling on the platform and making their farmlands available in a virtual market. The whole process entails four simple steps

Usage

The solution consist majorly of four steps

1. Farmlands

First, you will need to create an account on Farmlord either as Farmer or Landowner. As a Landowner, you can profile your pieces of farmlands on the platform which automatically becomes available on a virtual market. After registering as a Farmer, you may go on the virtual market and view land that interests you.

2. Requests

When you find an interesting Farmland that meets your need on the "farmland market", you will simply send a request with just one click! The Landowner will immediately get a "farmland request" notification on their dashboard, prompting them of a Farmer's interest on their listed property on the "farmland market"

3. Transact

As soon as a Landowner receives a request to rent or lease their farmland, they will review and accept the request if it meets their preference or decline accordingly. All of these processes should take a few minutes to complete a transaction end to end between a Landowner and the corresponding requesting Farmer.

4. Payment

After the Landowner has accepted the land request sent by a Farmer, the Farmer get a notification on their dashboard to make secure payment for a right occupy or lease the farmland as agreed in the terms between Farmer and the Land owner. We've made sure to integrated to a trusted and secure payment service.

Setup

This project was generated with Angular CLI version 9.1.4.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Authors

The team members of this project are;

Contributing

If this project sounds interesting to you and you'd like to contribute, thank you! First, you can send a mail to [email protected] to indicate your interest, why you'd like to support and what forms of support you can bring to the table, but here are areas we think we'd need the most help in this project :

  1. area one (e.g this app is about human trafficking and you need feedback on your road-map and feature list from the private sector / NGOs)
  2. area two (e.g you want people to opt-in and try using your staging app at staging.project-name.com and report any bugs via a form)
  3. area three (e.g here is the zoom link to our end-of sprint webinar, join and provide feedback as a stakeholder if you can)

LICENSE

MIT

team-011-frontend's People

Contributors

codacy-badger avatar dependabot[bot] avatar lurnray avatar ofuochi avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

lurnray ofuochi

team-011-frontend's Issues

[FEATURE] Integrate Auth APIs

Is your feature request related to a problem? Please describe.
Currently, the frontend APP does not talk to any API, it uses just static data. This feature is going to connect the authentication UI to the backend authentication APIs

Describe the solution you'd like
The application should connect to backend API

[FEATURE] Populate Farmer Dashboard

Is your feature request related to a problem? Please describe.
When a farmer logs into their dashboard, there nothing to see on the dashboard at a glance
Describe the solution you'd like
When the farmer logs in to the dashboard, they should at a glance see the following information;

  • Number of land requests made
  • Number of lands being rented or leased
  • Number of approved requests
  • The total amount paid to landowners

[FEATURE] Categorise Lands

Is your feature request related to a problem? Please describe.
Currently, there's no way for landowners to filter land by categories
Describe the solution you'd like
Add tabs to categories and filter land by auction type

[FEATURE] Implement Realtime notification

Is your feature request related to a problem? Please describe.
There's currently no way for farmers/landowners to be able to see notifications on payment and land request approvals.

Describe the solution you'd like
Farmers should be able to see a notification in realtime when a landowner approves their request and a landowner should be able to see a notification when a farmer makes payment

[FEATURE] Resend Email Verification

Is your feature request related to a problem? Please describe.
There should be a feature to resend email verification in case the user does not get the initial email

Describe the solution you'd like
A link or button to resend email verification code

[FEATURE] Populate Landowner Dashboard

Is your feature request related to a problem? Please describe.
When a user logs in to their dashboard, the dashboard is pretty much scanty

Describe the solution you'd like
The dashboard for Landowner should have the following items at a glance

  • Number of Land Request
  • Number of Lands
  • Total Amount Received

[FEATURE] File Upload

Is your feature request related to a problem? Please describe.
Currently, the image of the farm is not being uploaded while creating farmland

Describe the solution you'd like
Image upload of farmland photo should be implemented

[TEST] Write more Integration/Unit test

Is your feature request related to a problem? Please describe.
Currently, there's not enough code coverage for the app.

Describe the solution you'd like
More test should be written to cover 80% of the code

[FEATURE] Pagination for managing lands

Is your feature request related to a problem? Please describe.
All land cards are on the same page making it to overflow
Describe the solution you'd like
There should be pagination on the page to allow created land to move to next pages

[FEATURE] Integrate Signup API

Is your feature request related to a problem? Please describe.
Signup frontend is currently not using static data

Describe the solution you'd like
Signup fronted should connect to the available signup API

[FEATURE] Populate Admin Dashboard

Is your feature request related to a problem? Please describe.
Admin dashboard is scanty at the moment

Describe the solution you'd like
When an admin logs in to their dashboard, they should be able to see the following at a glance;

  • Number of Landowners
  • Number of Farmers
  • Total Number of LandRequests
  • Total Amount of Money Paid on the Platform

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Email verification Link

Is your feature request related to a problem? Please describe.
##Upon successful registration, the user should be sent a link to verify their account.

Describe the solution you'd like
###This helps us verify the authentication of the user

[FEATURE] CRUD operation on Land

Is your feature request related to a problem? Please describe.
Landowners should be able to perform CRUD operation on Land on the dashboard

Describe the solution you'd like
A Landowner should be able to

  • Create Land
  • Update land details
  • Get land details
  • Delete land
    only if it hasn't been rented or leased.

[FEATURE] Add documentation

Is your feature request related to a problem? Please describe.
There no documentation on what the application does

Describe the solution you'd like
The readme should be updated to capture what the application does

[FEATURE] Implement token refresh

Is your feature request related to a problem? Please describe.
Currently, when a user is logged in, he still gets timed out even when they're actively using the application as soon as the token is expired.

Describe the solution you'd like
Users should not be logged out when they're currently active on the application. Users should only be logged out when they've been idle for a while.

[FEATURE] Integrate login API

Is your feature request related to a problem? Please describe.
Login Frontend is currently not pointing to an API

Describe the solution you'd like
Login frontend should be integrated into the available login API

[FEATURE] User Dashboard

Is your feature request related to a problem? Please describe.
There is no user dashboard at the moment. When users successfully login, they should have a dashboard.

Describe the solution you'd like

  • Farmers should see the farmland they are currently being rented/leased to them
  • Landowners should be able to;
    1. View their farmlands and it's status - whether available or not
    2. Create a new farmland
    3. Delete a land that's not currently in use
    4. Edit a farmland's info

[FEATURE] Creating/Viewing of farmlands

Is your feature request related to a problem? Please describe.
The dashboard does not currently have that functionality to create and viewing farmland
Describe the solution you'd like
Landowners should be able to create and view farmlands

[FEATURE] Update Land Details

Is your feature request related to a problem? Please describe.
Farmowners are currently not able to update land details
Describe the solution you'd like
Farmowners should be able to update land details

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.