GithubHelp home page GithubHelp logo

boringchat's Introduction

boringChat

a basic chat application using Node.js, Socket.IO, Express.js, MongoDB/Mongoose, ejs templates, etc.
you can see it here: https://boring-chat.herokuapp.com/

have you seen/used emoticons like these before?
ლ(ಠ_ಠლ)
(ノ◕ヮ◕)ノ*
(☉_☉)

They're fun to use when chatting, but difficult to type out, if you can even do so, and sometimes can be a pain to find online. (╯°□°)╯︵ ┻━┻

Therefore I made this application where users will be able to preset emotions (i.e. happy, angry, sad) mapped to a variety of emoticons. I know that emojis exist, but sometimes using characters to create faces is more fun and interesting.

Also, with this application, you won't have to keep searching online for a particular emoticon (which can be pretty complicated) to suit your needs.

things to think about:
probably should apply some limitations on the number of emoticons that can be saved per user.
how about image imports? gifs?

screenshots:

the login page:
the login page

the register page:
the register page

the chat area:
chat area

steps needed to make this work locally:

  1. set up database, i.e. MongoDB locally or somewhere else.
  2. don't forget to have the dependencies installed via npm!
  3. startup the database by executing mongod.exe and then mongo.exe on the command line. (be mindful of the database name to access though: see config/database.js where the location is specified)
    You can check out the batch script I made to start up both executables easily too! See the file called "startdb.bat". Note that this is for Windows users, but it can be easily translated to Bash also.
  4. go to the directory where "server.js" lives and then on the command line: node server.js. this starts up the express server. Then go to localhost:3000.

helpful resources:

https://socket.io/get-started/chat/
https://scotch.io/tutorials/easy-node-authentication-setup-and-local

boringchat's People

Contributors

syncopika avatar

Stargazers

Ivan avatar NightRaven avatar Akki avatar Dzenis H. avatar Mayank Upadhyay avatar Ostap Brehin avatar Eliel avatar  avatar UGWU COLLINS C avatar Eze Nzube Goodness avatar  avatar Jessica Sena avatar

Watchers

James Cloos avatar Phạm Sinh avatar  avatar

Forkers

cha11enger

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.