{"repo":"code-chat-br/whatsapp-api","free":true,"listed":false,"github":"https://github.com/code-chat-br/whatsapp-api","clone":"git clone https://github.com/code-chat-br/whatsapp-api.git","description":"CodeChat - WhatsApp Api","language":"TypeScript","stars":1278,"topics":["api","api-rest","automotion","chat","communication","nodejs","whatsapp","whatsapp-api","whatsapp-bot"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"WhatsApp-Api-NodeJs Go API With this one you can create multiservice chats, service bots or any other system that uses whatsapp. With this code you don't need to know javascript for nodejs , just start the server and make the language requests that you feel most comfortable with. Infrastructure 1. Docker installation First, let's install Docker. Docker is a platform that allows us to quickly create, test and deploy applications in isolated environments called containers. 2. Installing the database PostgreSql [required] Now, we have configured our PostgreSQL database using Docker Compose. Access your postgre manager and create a database. compose from postgres 3. Nvm installation After finishing, restart the terminal to load the new information. 3.1 Nodejs installation Installing Node.js using NVM, a version manager that allows us to switch between different versions of Node.js easily. 4. pm2 installation 5. Application startup Cloning the Repository Go to the project directory and install all dependencies. Give preference to npm as it has greater compatibility. 6. Environment variables See additional settings that can be applied through the env file by clicking here . ⚠️Attention⚠️: copy the .env.dev file to .env . 7. Prism ORM We're going to use Prisma ORM to manage our database. Prisma simplifies database access and ensures operations are secure and easy to maintain. Commands and Explanations: In development environment: npx prisma migrate dev We use migrate dev in developm","default_branch":null,"files":null,"tree":[],"storefront":"/r/code-chat-br","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/code-chat-br/whatsapp-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}