Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lunchspider committed Feb 1, 2024
1 parent eb99750 commit 9004474
Show file tree
Hide file tree
Showing 13 changed files with 1,761 additions and 120 deletions.
68 changes: 46 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,60 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
# LawGuru - AI-Powered Legal Advice Web App

Welcome to LawGuru, your go-to platform for AI-powered legal advice and guidance!

## Overview

LawGuru is a cutting-edge web app that employs AI chatbot technology to deliver personalized legal assistance. Designed to simplify the complexities of the law, users can seamlessly navigate various legal topics, ensuring accessibility for all.

## Key Features

- **Real-time Interaction:** Engage in live conversations, receiving accurate legal information instantly.
- **Smart Suggestions:** Benefit from intelligent recommendations based on user input and behavior patterns.
- **Legal Database Access:** Tap into an extensive legal database for relevant statutes and case law.

## Tech Stack

LawGuru is built using the following technologies:

- **Next.js:** React framework for a robust and efficient frontend.
- **PostgreSQL:** Backend powered by a reliable and scalable database.
- **TypeScript:** Ensures a statically-typed and more maintainable codebase.
- **Clerk:** Authentication services for secure user interactions.
- **Vercel:** Deployment platform for seamless hosting.
- **Machine Learning Model:** Enhances chatbot capabilities for better responses.

## Getting Started

First, run the development server:
To run this project locally, you'll need to have Node.js and npm installed on your machine.

1. Clone the repository:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
```bash
git clone https://github.com/ayuugoyal/LawGuru.git
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
2. Navigate to the project directory:

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
```bash
cd LawGuru
```

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
3. Install dependencies:

## Learn More
```bash
npm install
```

To learn more about Next.js, take a look at the following resources:
4. Run the development server:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
```bash
npm run dev
```

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
Open [http://localhost:3000](http://localhost:3000) in your browser to see the terminal application.

## Deploy on Vercel
## License

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
This project is licensed under the [MIT License](LICENSE). Feel free to explore, contribute, and provide feedback!

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
Explore LawGuru [here](https://github.com/ayuugoyal/LawGuru) and embark on a journey of simplified legal interactions!
6 changes: 5 additions & 1 deletion drizzle.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ export default defineConfig({
out: "./drizzle",
driver: "pg",
dbCredentials: {
connectionString: process.env.POSTGRES_URL! + "?sslmode=require",
password: process.env.POSTGRES_PASS!,
host: process.env.POSTGRES_HOST!,
port: +process.env.POSTGRES_PORT!,
database: process.env.POSTGRES_PORT!,
user: process.env.POSTGRES_USER!,
},
verbose: true,
strict: true,
Expand Down
Loading

0 comments on commit 9004474

Please sign in to comment.