Giter Club home page Giter Club logo

chat-app's Introduction

chat-app

Template

How to install :

Stack

  • NodeJS v15.10.0
  • MongoDB v4.4.1

Backend :

  1. go to backend and install dependencies with NPM or yarn npm install or yarn install
  2. make a copy of .env.simple to a new file .env
  3. please generate two a random string and change
JWT_ACCESS_SECRET="Change me"
JWT_REFRESH_SECRET="Change me"
  1. I didn't get time to finish the hole project, so there are some things to add it to the database
    1. Registration and login works fine (You don't need to verify email)
    2. 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)
    3. to create some conversations you can:
      1. get a user ID from database
      2. go to frontend/src/views/Dashboard/Chat/Navigation/NavigationActions.js
      3. paste the user ID at line 7
      4. got to the UI and click the plus button below the user avatar (at chat UI)
      5. refresh the page
    4. You can use the database dump (All users have the same password: azeazeaze)

Front end :

  1. go to frontend and install dependencies with NPM or yarn npm install or yarn install
  2. copy params.json.exemple to a new file params.json
  3. run npm start and make sure you are opening http://localhost:3000 not http://127.0.0.1:3000

chat-app's People

Contributors

blocus avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.