Skip to content

Backend of real estate booking system using prisma ORM with MongoDB, JWT for authentication, Cookies to manage user sessions and preferences along with real-time chat functionality with Socket.io.

Notifications You must be signed in to change notification settings

Narotam-Mishra/real-estate-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

npm install && npm start

Sync MongoDB with prisma

npx prisma db push

Database Connection

  1. Import connectDB.js from db
  2. Invoke in start()
  3. setup .env in the root
  4. Add mongoURL with correct value

Routers

  • auth.js
  • jobs.js

Models

  • User
  • Post
  • postDetail
  • savedPost
  • chat
  • message

Note - Expressjs middlware allow us to intercept any process to make youe verification and continue that process

using console-ninja

command

console-ninja node --watch app.js

About

Backend of real estate booking system using prisma ORM with MongoDB, JWT for authentication, Cookies to manage user sessions and preferences along with real-time chat functionality with Socket.io.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published