A Mini Project from BIGIO.ID that interacts between the server and client using socket.io
This is some routes that I created.
npm install
npm run dev
# or
yarn install
yarn dev
# or
pnpm install
pnpm dev
# or
bun install
bun dev
Port http://localhost:3000 for the socket.io to interact with backend and frontend.
Open http://localhost:3001 with your browser to see the result.
You can start editing the page by modifying app.js
. The page auto-updates as you edit the file.
- express
- cors
- bcryptjs
- dotenv
- express-vaildator
- jsonwebtoken
- nodemon
- pg
- sequelize
- socket.io
- uuid
- jest unit test
- jest coverage test
──src
├───config
│ ├───db.config.js
│ └───token.config.js
├───controllers
│ ├───auth.controller.js
│ ├───message.controller.js
│ └───user.controller.js
├───middlewares
│ └───middleware.js
├───routes
│ └───routes.js
├───schemes
│ ├───message.model.js
│ ├───refresh-token.model.js
│ ├───token.model.js
│ └───user.model.js
└──README.md