Skip to content

Ozan's AI Chat is a Website with a dedicated Express backend based on Node.js. To use this yourself, you need a Supabase Database that is compactible with this code, or you alter the code to make it work with yours. The communication between the front and backend is encrypted with a JWT Token.

Notifications You must be signed in to change notification settings

IM23a-tutkuno/OzansAIChat

Repository files navigation

Ozan's AI Chat

Ozan's AI Chat is a Website with a dedicated Express backend based on Node.js. To use this yourself, you need a Supabase Database that is compactible with this code, or you alter the code to make it work with yours. The communication between the front and backend is encrypted with a JWT Token.

I don't recommend trying to set up your project with this repo, since the structure of the backend and frontend is specific for my own database.

This app does not include an APIKey you must provide your own in your database.

Installation

Use the package manager npm to install the packages.

npm install

Navigate into the backend folder

cd backend

Once again run

npm install

Usage

Create a .env file with the following structure and add your supabase url, supabase key and secret JWT.

NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SECRET_JWT=

To run the frontend, use this commmand in the root folder:

npm run dev

To run the backend, use this commmand in the backend folder:

node server.js

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Ozan's AI Chat is a Website with a dedicated Express backend based on Node.js. To use this yourself, you need a Supabase Database that is compactible with this code, or you alter the code to make it work with yours. The communication between the front and backend is encrypted with a JWT Token.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published