Skip to content

dkgulia/MERN-Chat-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

create folders
npm init -y
npm i mongoose express dotenv bcryptjs cookie-parser nodemon cors socket.io
create models,controller,routes,config
create idnex.js for server
create .env for environment variables
create package.json scripts
create conn.js in config to db connection
craete models for user msg convo schema
create userController for businnes logic of user
singup login logout authenticatioj
hashedpassword
post request/signup endpoint
login endpoint
jwt token 
logout endpoint
isauthentication dot
getother users function 
decode = jwt.verify(token,process.env.JWT_SECRET_KEY)
create msgcontroller 
create msgRoute
check for participants who is chatting using findone ,participants in convomodel

ready for frontend  
install react
tailwind css
daisy ui
routes setup usirg createbrowserRoute 
homepage,login,signup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors