Skip to content

Commit

Permalink
Server and UI folder setup for Chatgpt clone AI Chatbot with SvelteKi…
Browse files Browse the repository at this point in the history
…t, Expressjs and Open AI GPT-3 API
  • Loading branch information
SolomonFoskaay committed Jan 21, 2023
0 parents commit 2f610ed
Show file tree
Hide file tree
Showing 37 changed files with 4,347 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# env
.env

# build
build

# test
test

# others:
# whitelist.js
servertest
uitest
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!-- ensures every link below opens in a new tab similar to HTML target="_blank" -->
<base target="_blank">

# ✨ Build and Deploy Your Own ChatGPT AI Application That Will Help You

![Open AI CodeGPT](https://i.ibb.co/LS4DRhb/image-257.png)

## 📚 SETUP

To Use this ChatGPT Clone AI Chatbot app built with SvelteKit (Frontend), Express.js (Backend) and Openai GPT-3 AI API, do the following:

- `Star` this repo,

- Then `Clone` this repo,

- Finally, see the `Demo` to test the amazing `features` of the `ai chatbot app` and go through the `documentation` by enrolling for the `full course` to guide on how to set it up quickly, easily and successfully, which is `totally FREE` with support at:

- [Build and Deploy AI chatbot Website Like chatGPT With Sveltekit, ExpressJs and Openai GPT-3 AI API](https://aihipuniversity.com/Svelte-SvelteKit-303-Advanced-Build-And-Deploy-Ai-Chatbot-Website?ref=AiHiPUniversity.com "FREE Full Course To get Started With AI Chatbot Development")

## 🎉 Launch your Full Stack and Web3 development career with Ai enhanced project-based courses and support

[AiHiPUniversity.com](https://AiHiPUniversity.com?ref=AiHiPUniversity.com "Visit AiHiPUniversity Website")

## 📚 Star this Repository

If you find this helpful,

please remember to `star` the repo at the top and also share it on social media platforms.
5 changes: 5 additions & 0 deletions server/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# COPY AND PAST YOUR OPENAI's API KEY BELOW WITHIN THE QOUTAION MARKS.
# WARNING: Your API Key is confidencial and must not be exposed on frontend or commited to public places like Github:
# To avoid exposing your API key, kindly rename this file from .evn.example to .env to avoid any errors accessing it by the server,
# and it will also ensure that .gitinore rules help prevent exposing your API KEY by removing it from your commit files to send to github.
OPENAI_API_KEY= "COPY AND PASTE TO REPLACE THIS TEXT WITH YOUR OPENAI's API KEY"
16 changes: 16 additions & 0 deletions server/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "foskaay-ai-server",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"server": "nodemon server"
},
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"nodemon": "^2.0.20",
"openai": "^3.1.0"
}
}
Loading

0 comments on commit 2f610ed

Please sign in to comment.