Skip to content

Commit

Permalink
Merge pull request #17 from Hombre2014/deploy
Browse files Browse the repository at this point in the history
Deploy
  • Loading branch information
Hombre2014 authored Nov 22, 2023
2 parents cb7914f + e39a5fb commit 4830e09
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 160 deletions.
156 changes: 7 additions & 149 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
## Built With

- Major languages: TypeScript
- Framework: Next.js
- Backend: MySQL from [Planetscale](https://app.planetscale.com/)
- Tools used: Stripe, Crisp, Clerk, Prisma, zustand
- Framework: Next.js, React
- Backend: MySQL from [Planetscale](https://app.planetscale.com/), Redis from [Upstash](https://upstash.com/), and Pinecone
- Tools used: Stripe, Crisp, Clerk, Prisma, zustand, Cloudinary

## Screenshots

### Landing page

<!-- ![Home](/public/my-tools.JPG) -->
![Home](/public/ChatWith_Home.JPG)

<!-- ### Dashboard page
Expand All @@ -27,9 +27,9 @@
![Pricing](/public/Pricing.JPG) -->

## Live Link
<!-- ## Live Link -->

- [ChatWith](https://my-tools.ai/chat-with)
<!-- - [ChatWith](https://my-tools.ai/chat-with) -->

### Deployment

Expand Down Expand Up @@ -59,146 +59,4 @@ Thanks to "Coding with Antonio" YouTube channel and [AntonioErdeljac](https://gi

## 📝 License

This project is [Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)](./license.md) licensed.

<div align="center">

# Tech Stack File

![](https://img.stackshare.io/repo.svg 'repo') [Hombre2014/ai-companion](https://github.com/Hombre2014/ai-companion)![](https://img.stackshare.io/public_badge.svg 'public')
<br/><br/>
|18<br/>Tools used|11/17/23 <br/>Report generated|
|------|------|

</div>

## <img src='https://img.stackshare.io/languages.svg'/> Languages (3)

<table><tr>
<td align='center'>
<img width='36' height='36' src='https://img.stackshare.io/service/1612/bynNY5dJ.jpg' alt='TypeScript'>
<br>
<sub><a href="http://www.typescriptlang.org">TypeScript</a></sub>
<br>
<sub></sub>
</td>

<td align='center'>
<img width='36' height='36' src='https://img.stackshare.io/service/1209/javascript.jpeg' alt='JavaScript'>
<br>
<sub><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript">JavaScript</a></sub>
<br>
<sub></sub>
</td>

<td align='center'>
<img width='36' height='36' src='https://img.stackshare.io/service/6727/css.png' alt='CSS 3'>
<br>
<sub><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS3">CSS 3</a></sub>
<br>
<sub></sub>
</td>

</tr>
</table>

## <img src='https://img.stackshare.io/frameworks.svg'/> Frameworks (4)

<table><tr>
<td align='top'>
<img width='36' height='36' src='https://img.stackshare.io/service/2202/72d087642cfce6fef6f2dabec5bf49e8_400x400.png' alt='Autoprefixer'>
<br>
<sub><a href="https://github.com/postcss/autoprefixer">Autoprefixer</a></sub>
<br>
<sub></sub>
</td>

<td align='top'>
<img width='36' height='36' src='https://img.stackshare.io/service/5936/nextjs.png' alt='Next.js'>
<br>
<sub><a href="https://nextjs.org/">Next.js</a></sub>
<br>
<sub>v13.5.6</sub>
</td>

<td align='center'>
<img width='36' height='36' src='https://img.stackshare.io/service/1011/n1JRsFeB_400x400.png' alt='Node.js'>
<br>
<sub><a href="http://nodejs.org/">Node.js</a></sub>
<br>
<sub></sub>
</td>

<td align='center'>
<img width='36' height='36' src='https://img.stackshare.io/service/1020/OYIaJ1KK.png' alt='React'>
<br>
<sub><a href="https://reactjs.org/">React</a></sub>
<br>
<sub>v18.2.0</sub>
</td>

</tr>
</table>

## <img src='https://img.stackshare.io/databases.svg'/> Data (1)

<table><tr>
<td align='center'>
<img width='36' height='36' src='https://img.stackshare.io/service/8680/Logo_Symbol_White.jpg' alt='Prisma'>
<br>
<sub><a href="https://www.prisma.io/">Prisma</a></sub>
<br>
<sub>v5.6.0</sub>
</td>

</tr>
</table>

## <img src='https://img.stackshare.io/devops.svg'/> DevOps (3)

<table><tr>
<td align='center'>
<img width='36' height='36' src='https://img.stackshare.io/service/3337/Q4L7Jncy.jpg' alt='ESLint'>
<br>
<sub><a href="http://eslint.org/">ESLint</a></sub>
<br>
<sub></sub>
</td>

<td align='center'>
<img width='36' height='36' src='https://img.stackshare.io/service/1046/git.png' alt='Git'>
<br>
<sub><a href="http://git-scm.com/">Git</a></sub>
<br>
<sub></sub>
</td>

<td align='center'>
<img width='36' height='36' src='https://img.stackshare.io/service/1120/lejvzrnlpb308aftn31u.png' alt='npm'>
<br>
<sub><a href="https://www.npmjs.com/">npm</a></sub>
<br>
<sub></sub>
</td>

</tr>
</table>

## <img src='https://img.stackshare.io/group.svg' /> Open source packages (7)</h2>

## <img width='24' height='24' src='https://img.stackshare.io/service/1120/lejvzrnlpb308aftn31u.png'/> npm (7)

| NAME | VERSION | LAST UPDATED | LAST UPDATED BY | LICENSE | VULNERABILITIES |
| :--------------------------------------------------------- | :------- | :----------- | :----------------- | :------ | :-------------- |
| [@types/node](https://www.npmjs.com/@types/node) | v16.18.6 | 10/23/23 | Yuriy Chamkoriyski | MIT | N/A |
| [@types/react](https://www.npmjs.com/@types/react) | v18.2.31 | 11/11/23 | Yuriy Chamkoriyski | MIT | N/A |
| [@types/react-dom](https://www.npmjs.com/@types/react-dom) | v18.2.14 | 11/11/23 | Yuriy Chamkoriyski | MIT | N/A |
| [postcss](https://www.npmjs.com/postcss) | v8.4.31 | 10/23/23 | Yuriy Chamkoriyski | MIT | N/A |
| [query-string](https://www.npmjs.com/query-string) | v8.1.0 | 11/11/23 | Yuriy Chamkoriyski | MIT | N/A |
| [react-dom](https://www.npmjs.com/react-dom) | v18.2.0 | 11/11/23 | Yuriy Chamkoriyski | MIT | N/A |
| [tailwindcss](https://www.npmjs.com/tailwindcss) | v3.3.3 | 10/23/23 | Yuriy Chamkoriyski | MIT | N/A |

<br/>
<div align='center'>

Generated via [Stack File](https://github.com/marketplace/stack-file)
This project is [MIT](./license.md) licensed.
4 changes: 2 additions & 2 deletions components/mobile-sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import { Menu } from 'lucide-react';
import { Sheet, SheetContent, SheetTrigger } from './ui/sheet';
import Sidebar from './sidebar';

const MobileSidebar = () => {
const MobileSidebar = ({ isPro }: { isPro: boolean }) => {
return (
<div>
<Sheet>
<SheetTrigger className="md:hidden pr-4">
<Menu />
</SheetTrigger>
<SheetContent side="left" className="p-0 bg-secondary pt-10 w-32">
<Sidebar />
<Sidebar isPro={isPro} />
</SheetContent>
</Sheet>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Navbar = ({ isPro }: NavbarProps) => {
return (
<div className="fixed w-full z-50 flex justify-between items-center py-2 px-4 border-b border-primary/10 bg-secondary h-16">
<div className="flex items-center">
<MobileSidebar />
<MobileSidebar isPro={isPro} />
<Link href="/">
<h1
className={cn(
Expand Down
7 changes: 7 additions & 0 deletions license.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright 2023 Yuriy Chamkoriyski]

Permission is hereby granted, free of charge, to any person obtaining a copy of this [Website] and associated documentation files, to deal in the [Website] without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the [Website], and to permit persons to whom the [Website] is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the [Website].

THE [Website] IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE [Website] OR THE USE OR OTHER DEALINGS IN THE [Website].
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"postinstall": "prisma generate"
},
"dependencies": {
"@clerk/nextjs": "^4.26.1",
Expand Down
Binary file added public/ChatWith_Home.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions scripts/seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ async function main() {
try {
await db.category.createMany({
data: [
{ name: 'Famous People' },
{ name: 'Celebrities' },
{ name: 'Movies & TV' },
{ name: 'Musicians' },
{ name: 'Games' },
{ name: 'Animals' },
{ name: 'Philosophers' },
{ name: 'Scientists' },
{ name: 'Sports' },
{ name: 'Music' },
{ name: 'Art' },
{ name: 'Business' },
{ name: 'Philosophy' },
{ name: 'Science' },
{ name: 'Sport' },
],
});
} catch (error) {
Expand Down

0 comments on commit 4830e09

Please sign in to comment.