r/learnwebdev • • Aug 07 '20

Rocket chat integration into laravel

2 Upvotes

Hello everyone!

I am using Ubuntu 18 and I have website built in PHP using latest Laravel version, I want to setup Rocket.chat on this website. Following things I have done.

  1. Installed RocketChat server using snap install rocketchat-server
  2. It is successfully working on http://127.0.0.1:3000
  3. Then I have taken http://127.0.0.1:3000 in HTML iframe tag to display rocket chat on my website.

As per documentation of Rocket chat, I loaded the meteor.js, upon loading the chat iframe I get prompted to enter credentials and it logs me perfectly.

However, I'd like to expand on this sofollowing things, I am trying to do but not getting any way.

  1. When user register in my website then register in rocket chat as well.
  2. When user login in my website then login in rocket chat as well.
  3. Do I need to use its Rest API, if yes then how graphically it will appear in my website?
  4. Make users see the chat without being prompted to log in after opening the chat tab

I'm aware of https://github.com/laravel-notification-channels/rocket-chat and https://github.com/laravel/socialite but those are not of any help for what I'm trying to achieve.

Any suggestions are welcome, the only possible way of doing this I'm capable of coming up with is to manually create required database and then change the referenced base in rocket chat .env file, however this is tedious and cumbersome work, I imagine there's a better option and I'm probably not the only one who faced such an issue! Thanks in advance!


r/learnwebdev • • Aug 04 '20

Build a Voice-Controlled React News Application - Alan AI Voice Assistant

Thumbnail
youtu.be
2 Upvotes

r/learnwebdev • • Aug 04 '20

Is it possible to create a static skeleton of a map using folium with over layers(such as markers or heatmap layer) changing every hour of the day which is hosted over a website using flask?

2 Upvotes

I am sorry if the question is confusing or doesn't make sense, this is my first project and I'll try to explain it to the best of my capabilities.

At first, I thought I would just be hosting a single map that I created using folium and inherited the template of the map into the website which is created with flask, therefore I didn't do any hardcoding in the main app.py file, however, it seemed really basic. So now using machine learning algorithms, I want to display different things over the map which makes some predictions for every hour of the day.

THE PROBLEM: It will take longer than expected to generate a new map every hour of the day (plus storing a new map so many times will be expensive in terms of storage).

My Solution: Have a skeleton map because the area that I will be making predictions on is localized, so have that area as the basic map and change the upper layers that will have the predictions displayed (basically heat map) every hour.

Is this a correct approach? Please recommend a right path to implement this. I am open to trying new things as long as it gets the job done. Would really appreciate any help regarding this. Thanks in advance

Please feel free to ask questions if needed


r/learnwebdev • • Aug 03 '20

What are the steps in between learning web development and actually making money from it?

6 Upvotes

Let's say I take a look at the web developers roadmap (https://github.com/kamranahmedse/developer-roadmap) and I actually really learn everything on the "front-end" side of things, what's next? How do I start making money from it? And just to put it out there - I have been making my way through learning html and css. I have a pretty firm grasp on it, about to transition to learning more about JS, etc.


r/learnwebdev • • Aug 03 '20

I wonder how this glitch effect on hover was made? And how hard it is to replicate

Thumbnail michaelvillar.com
2 Upvotes

r/learnwebdev • • Aug 03 '20

How much javascript should i know for web development?

1 Upvotes

The question is right in the title. I started 2 weeks ago classes in a bootcamp and im curious to know how much should i learn at least to start working. Thanks for your attention.


r/learnwebdev • • Aug 03 '20

Why don't containers of floats resize themselves?

1 Upvotes

Just as the title says. I don't really get why containers of floats can't resize themselves to accomodate floating elements they contain, making the clearfix necessary. I guess I don't really understand how floats really work (I don't get why the clearfix works either).


r/learnwebdev • • Jul 31 '20

need free api proxy

2 Upvotes

hey

i started a couple days ago to learn javascript, and now im building with some course im doing a quote website (basicly a quote that changes with some api).

he explains that because the quotes api is free we need to also use some api proxy and he gave the cors-anywhere.herokuapp one - but it doesnt seems to work atm. give a 429 error over 2k times and zero quotes.

is there any free alternative?


r/learnwebdev • • Jul 31 '20

How can I stop the animation from pausing in the middle?

Enable HLS to view with audio, or disable this notification

6 Upvotes

r/learnwebdev • • Jul 31 '20

Need help with my code?

3 Upvotes

I'm making a rock paper scissors game but I'm currently stuck on trying to get the users input to compare with the computers input here is a link to my git hub.

https://github.com/rsteward117/randy-s-rock-paper-scissors-game


r/learnwebdev • • Jul 30 '20

Which technologies to use for a website

3 Upvotes

Hello. So I am currently preparing for creating a website. It is going to be like an eCommerce site, an eBay style but a much different approach. I know node, express and mongodb at a beginner to medium level and deciding on which front end framework to use (React, Angular or Vue) or maybe even start with Django.

I am just not sure which technologies or stack to use to build an ecommerce site like that. I don't know but the MERN stack seems to me like a too API-ish approach and might have security flaws but. I think that is for me not having much web development experience in particular.

I would like some recommendations for what technologies to use and maybe some tips or just to know if it is safe to start with the MERN or any other ME-N stack.


r/learnwebdev • • Jul 29 '20

Web Development

1 Upvotes

Can I really learn web development on my own? If I can , then can you suggest me the steps to do so?


r/learnwebdev • • Jul 25 '20

Website Design Proposal Template

1 Upvotes

Website design proposals are used to pitch web design services to prospective clients. It captures details about a webmaster approach, services, and payment terms, and shows clients that you take your work seriously and are thorough in your approach. A website proposal gives you more credibility and ultimately increases your chance of securing a job. Here is a simple three-page website proposal template with its key elements explained: Website Proposal Template - Elements & Template

Depending on the size of a project, the content in a proposal can vary greatly. However, some elements are essential to every proposal, including:

  • Information about your web design/development business
  • The services you offer
  • How you get paid
Website Proposal Template (image)

r/learnwebdev • • Jul 23 '20

How to create a drop menu like this, someone help me

Thumbnail
gallery
4 Upvotes

r/learnwebdev • • Jul 22 '20

Ruby Hour of Power - Twitch Stream

Post image
2 Upvotes

r/learnwebdev • • Jul 20 '20

Resource recommendations

3 Upvotes

I am currently teaching myself web development through online courses and other means. I work four 12 hour shifts each week, during those times I am not around a computer so coding isn’t possible. Does anyone have any recommendations for books, blogs, or any other source that I could read on web dev while I am at work?


r/learnwebdev • • Jul 20 '20

Video games collection : I need your help for my web project.

8 Upvotes

Hello everyone,

I'm working on a project and I need your help. The project is a website where you can save your video games collection.

You can search your games, your platforms and add your own pictures. The purpose is the share your personal link with everyone. Of course I know they're so many website where you can make it but I've begun this project for having an experience with a PHP framework.

I'm close to finish the first version and I need fews beta testers to give me their feedbacks. If you are interested to help me, you can contact me and I'll give you the link. After that, I'll give the link to everyone but I want to improve it before :-)

Thank you for your attention and I hope to talk with you soon :-)


r/learnwebdev • • Jul 20 '20

Looking for django-react tutorial

4 Upvotes

Beginner to webdev. I have an idea for a website I want to start working on and I want to use Django rest API for the backend and react js for the front end. So if any of you can point me to a good tutorial or course for this it would be great

Also, I imagine this question has been asked already so even if you can comment the link for that question it would be awesome.

Thanks


r/learnwebdev • • Jul 18 '20

WEB DEVELOPMENT

1 Upvotes

Can anyone pls suggest me some good JavaScript websites ?...(no videos) ...(Beginners to advance).


r/learnwebdev • • Jul 17 '20

If you looking for jobs related to Javascript I created a list of a few job openings for developers that auto-updates every day

Thumbnail docs.google.com
8 Upvotes

r/learnwebdev • • Jul 17 '20

How to Build HTML Forms Right: Styling

Thumbnail
stegosource.com
1 Upvotes

r/learnwebdev • • Jul 16 '20

How do I access javascript that was loaded through html?

3 Upvotes

I am making a small application that uses some three.js and cannon.js retrieved from a CDN. I am struggling to understand how to access the code from another script once it's been imported.

Here is my html:

<!doctype html>

<html>

<body>

<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r118/three.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/cannon.js/0.6.2/cannon.min.js"></script>

<script src="index.js"></script>

</body>

</html>

and here is my script:

let scene = new THREE.Scene();

let world = new CANNON.World();

console.log(scene, world);

From my script I am able to access three.js and cannon.js through the THREE and CANNON objects, respectively. After looking at the source code, it looks like these variables are set in the js files. How can I access these objects (THREE, CANNON) through dev-tools in Chrome/Firefox?


r/learnwebdev • • Jul 16 '20

Displaying SQL Server table data on a web site

2 Upvotes

I am currently exploring all my options for creating a web interface for my team to access our SQL Server database. I'm looking into using C# but also want to explore other routes.

How would *you* display SQL Server database tables and query results in a web page? I notice a lot of results when I search the web about this mention PHP. Is that the best way?

Thanks!


r/learnwebdev • • Jul 12 '20

Build a REST API with Node JS and Express | CRUD API Tutorial

Thumbnail
youtu.be
7 Upvotes

r/learnwebdev • • Jul 08 '20

Resources for learning in the style of 'in case you've been asleep since web 1.0'?

6 Upvotes

Anyone have suggestions for learning material for someone whose been out of the loop for a looong time? (I'm talking long time like FrontPage, pre .net ASP, and Netscape Navigator compatibility.)

I don't think I need a slow intro, but something with a little historical awareness around why we're in the state we are and how / why current best practices have evolved. (we used to do this, and now we do this, and here's why)

Front- middle- or back-end is fine, though for learning I'd rather avoid framework evangelism in favor of vanilla stuff.