brekooname / Legal-Edge

An application that connects users with lawyers, facilitates meaningful interactions, and streamlines the appointment scheduling process. Through this app, users will be able to post legal questions or scenarios, receive opinions and advice from verified lawyers, and schedule appointments for further consultation giving them a "LEGAL EDGE".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LegalEdge


Problem Statement

Many individuals face challenges when seeking legal advice and guidance. They often struggle to find reliable and convenient access to lawyers, encounter difficulties in scheduling appointments, and lack a platform to engage in meaningful discussions with legal professionals.

LegalEdge

Our goal is to address these challenges by developing a application that connects users with lawyers, facilitates meaningful interactions, and streamlines the appointment scheduling process. Through our app, users will be able to post legal questions or scenarios, receive opinions and advice from verified lawyers, and schedule appointments for further consultation giving them a "LEGAL EDGE".

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

There are many great README templates available on GitHub;however, I didn't find one that really suited my needs so I created this one. I wanted to create a README template which satisfies the project.

Here's why:

  • A project that solves a problem and helps others.
  • One shouldn't be doing the same task over and over like creating a README from scratch.
  • You should implement DRY principles to the rest of your life 😄

Of course, no one template will serve all projects since your needs may be different. So i'll be adding more in the near future.You may also suggest changes by forking this repo and creating a pull request or opening issue. Thanks to all the people have contributed to expanding this template!

About The Project

LegalEdge is a flutter application which uses firebase to sign in users and create a new account. With the help of our Node.js backend we have integrated the functionalities of registering users, lawyers , creating posts , liking a post and also commenting on the posts.

Built With

This section should list any major frameworks/libraries used to bootstrap your project.Leave any add-ons/plugins for the acknowledgement section. Here are a few examples.

image

image

download

(back to top)

Getting Started

We recommend creating a new flutter project using 'flutter create --org project_name' , which sets up a default application setup automatically. To create a project, run the followingf command in cmd after downloading and sucessfully installing flutter:

'flutter create --org project_name'

Prerequisites

After the installation is complete:

In the main file try running with the run without debugging:

Screenshot (13)

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Installation

Below is an example of how you can instruct your audience on installing and setting up your app.This template doesn't rely on any external dependencies or services.

1.Clone the repo

git clone https://github.com/your_username_/Project-Name.git

2.Install the packages

flutter pub get

(back to top)

Setup backend

Setup the repo in your local system

git clone https://github.com/hackman-v6/201CreatedChaos

Install the dependencies and start the server

npm install
node index

Routes

1. LAWYERS

GET '/api/v1/lawyers' :

  • Responds as {success:true,lawyers:Array}

GET /api/v1/lawyer/:id

  • Responds with {success:true : lawyer:Object}

POST '/api/v1/lawyer/register'

  • Send {name,address,city,regNo,cases,courts,experience,contact,desc,email} as Request body
  • Responds as {success:true, lawyer:Object}

2. USERS

GET '/api/v1/users'

  • Responds as {success:true,users:Array}

GET /api/v1/user/:id

  • Responds with {success:true : user:Object}

POST '/api/v1/lawyer/register'

  • Send {name,email,contact,role} as Request body
  • Responds as {success:true, msg:"comment added successfully"}
  • Responds as

3. POSTS

POST /api/v1/post/create

  • Send {title,desc,user} as the Request body
  • Responds with {success:true,message:"Comment added successfully"}
  • Responds as {"error": "User Id required"} in case of missing body data

GET /api/v1/posts

  • Responds with {success:true,posts:Array}

GET /api/v1/post/:id

  • Accepts the post _id from Request Parameters and responds with {success:true,post:Object}

POST /api/v1/post/addComment

  • Request body contains {postId,commentDesc,userEmail}
  • Responds with {success:true,message:"Comment Added Successfully"}

3. APPOINTMENTS

POST /api/v1/appointment/request/create

  • Send user,desc,lawyer as Request body
  • Responds as {success:true,message:"Request added to queue"}

GET /api/v1/appointment/requests/pending

  • Request body should contain {lawyer} i.e. Lawyer ObjectId
  • To get pending the requests in the Queue
  • Responds as {success:true,requests}
  • requests array may be null in case of no pending requests

GET /api/v1/appointment/requests/accepted

  • Request body should contain {lawyer} i.e. Lawyer ObjectId
  • To get the accepted requests in the Queue
  • Responds as {success:true,requests}
  • requests array may be null in case of no accepted requests

GET /api/v1/appointment/requests/all

  • Request body should contain {lawyer} i.e. Lawyer ObjectId
  • To get all the requests in the Queue
  • Responds as {success:true,requests}
  • requests array may be null in case of no requests

PATCH /api/v1/appointment/requests/action

  • Request body should contain {lawyer,request,status}
  • request id requestId(check JSON object)
  • lawyer is lawyer id(Object Id)
  • status should be ['accepted','cancel'] default:"pending"

Usage

Screenshots:

Open the App:

img

Onboarding Screens:

Welcome Screens:

ScreenShots:

(back to top)

Roadmap

  • Add Changelog
  • Add back to top links
  • Add Additional Templates w/ Examples
  • Add "components" document to easily copy & paste sections of the readme
  • Multi-language Support
    • Hindi
    • English

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire ,and create.Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

(back to top)

Contact

Manish Madan - https://github.com/ManishMadan2882
Uttkarsh Raj - https://github.com/Uttkarsh-raj
Aditya khattri - https://github.com/adityakhattri21

Project Link: https://github.com/hackman-v6/201CreatedChaos

(back to top)

Acknowledgments

Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!

(back to top)

About

An application that connects users with lawyers, facilitates meaningful interactions, and streamlines the appointment scheduling process. Through this app, users will be able to post legal questions or scenarios, receive opinions and advice from verified lawyers, and schedule appointments for further consultation giving them a "LEGAL EDGE".


Languages

Language:Dart 77.0%Language:C++ 11.2%Language:CMake 9.0%Language:Swift 1.1%Language:HTML 0.9%Language:C 0.7%Language:Kotlin 0.1%Language:Objective-C 0.0%