DEV Community

shinjith
shinjith

Posted on

First Project - ChatApp

Hey, hope you guys are doing well. I'm new here and also to the community :p.
Here is something I coded as a beginner project.

Simple Front-end for Chat system. Made using HTML, CSS, JavaScript.

I know the code is not that great. Also I'm not good at back-end languages, someone please explain the best language I can use for this project. Thanks in advance.

Top comments (11)

Collapse
 
rodrigoodhin profile image
Rodrigo Odhin

Very good!
I suggest you to use GO for the back-end.
It's a very good language, fast and easy to write.

Collapse
 
shinjithdev profile image
shinjith

Thank you very much! One of my friend who learned basics of Go also had the same opinion. I'm not well aware of this language.

I'll take a look at it too. Thank you for your valuable suggestion :)

Collapse
 
rogueloop profile image
Sreedeep

What frame work do you recommend

Collapse
 
rodrigoodhin profile image
Rodrigo Odhin

I use Fiber to write my APIs.
gofiber.io/

There are a lot of packages for Fiber to help you with authentication, logs, etc..

I've write a package for Fiber to control user permissions.
gitlab.com/rodrigoodhin/go-fiber-rbac

Collapse
 
prakhart111 profile image
Prakhar Tandon

Nice !
One small thing to add, check if message string is not just spaces. Currently you can just type in some spaces, and enter, and a blank message goes.

Try adding that, if you stuck, community is here to help!
Cheers !

Collapse
 
shinjithdev profile image
shinjith • Edited

Awesome! I've always worked on making the front-end bug free, this will be a great correction to it. Tysm :)

As a beginner, I feel awkward to ask simple doubts. Still, I will ask for assistance when in need..

Collapse
 
prakhart111 profile image
Prakhar Tandon

Yeah absolutely, more you hustle, more you improve.

Collapse
 
rafeek01 profile image
Rafeek01

Cool keep going.... :).

Collapse
 
shinjithdev profile image
shinjith

Much obliged. This made my day...

Collapse
 
zippcodder profile image
Deon Rich

Nice work! Chat app was the second of my first projects. If you ask me, I think you should use Node.js for your backend, especially since you're already writing JavaScript. It's simple and powerful. 👍

Collapse
 
shinjithdev profile image
shinjith

Thank you so much! I've considered using Django, Node.js an Go as backend. Tbh, I'm not well aware of Go, and as far I know Node.js is way far simpler than Django and it is better for small projects.

Also from your suggestion, I think Node.js is the matching option for this.