This a simple project powered by by Sveltekit and Pocketbase
This app will take the lead from Zuck and Musk to be the best chat app in the world of its amazing features like Simple, Laggy, and Vulnerable by default
- Simple
- Laggy "Because of the lack of good pocketbase host"
- Vulnerable "I really don't know if this app is protected enough"
Clone the project
git clone https://github.com/zicoding2/TwittChatApp.git
Go to the project directory
cd TwittChatApp
Install dependencies
npm install
Start the server
npm run dev
download Pocketbase here
Place the pocketbase file in the folder and run
./pocketbase serve
You should see this
2023/07/14 14:36:54 Server started at http://127.0.0.1:8090
➜ REST API: http://127.0.0.1:8090/api/
➜ Admin UI: http://127.0.0.1:8090/_/
Go to http://127.0.0.1:8090/_/ register as an admin and import schema from pb_schema .json
in the repo
1- Create a Vercel Account and link it with your GitHub
2- Select the repo that has this project
3- Configure then deploy, More info
note: don't forget to set the Environment Variables
check out this discussion
To run this project, you will need to add the following environment variables to your .env file
PUBLIC_POCKETBASE_URL
PRIVATE_KILLSWITCH
set it to false
If you have any feedback, please submit an issue or discussion