Chat Backend App is the backend for the end user using the Chat Application.
- Controllers - Contains the controller module.
- Services - Contains business logic for the API.
- Routes - Contains routes for the services.
- DB - Contains utilities for database connection and models.
- Helpers - Contains helper utility files used across the application.
You need node version 14.16.1. You can use nvm to manage node versions.
npm install
Install node packages when setting up the app.
Create a new file named .env on local and copy+paste the contents of .env-sample and additionally, fill the MySQL server details for the empty keys.
node index.js
You can access the route from http://localhost:9090. It can also be changed by changing .env variable value.