- NodeJS v15.10.0
- MongoDB v4.4.1
- go to backend and install dependencies with NPM or yarn
npm install
oryarn install
- make a copy of
.env.simple
to a new file.env
- please generate two a random string and change
JWT_ACCESS_SECRET="Change me"
JWT_REFRESH_SECRET="Change me"
- I didn't get time to finish the hole project, so there are some things to add it to the database
- Registration and login works fine (You don't need to verify email)
- You can create two or more users, and then you should start some conversations (There is no need to have friends or something like that)
- to create some conversations you can:
- get a user ID from database
- go to
frontend/src/views/Dashboard/Chat/Navigation/NavigationActions.js
- paste the user ID at line 7
- got to the UI and click the plus button below the user avatar (at chat UI)
- refresh the page
- You can use the database dump (All users have the same password:
azeazeaze
)
- go to frontend and install dependencies with NPM or yarn
npm install
oryarn install
- copy
params.json.exemple
to a new fileparams.json
- run
npm start
and make sure you are openinghttp://localhost:3000
nothttp://127.0.0.1:3000