This is a Next.js project bootstrapped with create-next-app.
This is Chati app bot, a simple chat app that uses Next.js, prisma, postgresql, and Tailwind CSS.
We need to setup the .env file and .env.local file you can check the .example
First you need docker to be installed and running then you can run the following command to start the database:
- Start the docker-compose
docker compose up -d
- Rename the .env.example to .env
- Replace the values of the .env file with the values of the .env.example file
npx prisma init
npx prisma migrate dev
npx prisma generate
Then you need to install the dependencies:
npm i
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
For the login/sign-up stuff I'm using a service CLERK
If you need the Clerk credentials to test just let me know, I can provide it and only works in Development mode.