This is backend for chat app, this project is made for practice using node js
Below you can find about development environment, file structure, and build.
There is one environment in this project DEV. you can put the env on .env
├── .env
in the .env you can fill in the required variables as below:
PORT=3000
JWT_SECRET=@QEGTUI
API_PATH="/api"
X_API_KEY="binar-36"
JWT_SECRET="@QEGTUI"
Below is the main structure folder :
.
├── apps
│ ├── config
│ ├── db
│ │ ├── migrations
│ │ ├── schemas
│ │ ├── seeds
│ └── middlewares
│ └── services
│ │ ├── auth
│ │ ├── message
│ │ ├── user
│ └── utils
How to run
create database name : db_bites_journey
npm i
npm run dev