Giter VIP home page Giter VIP logo

nextjs-chat's Introduction

TruckMap Chat

I've got tons of ideas on how this would/could improve but time is valuable. However, it was fun and haven't really used NextJS too much but it's great for the quick and small projects. It had been years since having played with SocketIO so that was entertaining ๐ŸŽ‰. All in all, good code challenge.

I didn't complete the link preview feature you noted. However. I did start the API endpoint for scraping the info which you can see at the link below, it's not perfect but a great start.

Resources & Tech:

Installation + Setup

Node version 12+

  • no specific reason, just an acceptable minimum range and I used 14.15.0
# Install
yarn install

# Build
yarn build

# Start
yarn start

# Open the URL logged out
open http://localhost:3000

Requirements

  • Create a new NextJS application configured to use tailwind.css for UI styles and TypeScript.
  • Use socket.io to add the real-time chat functionality.
  • Use Redux, Recoil, or React Hooks to store the application's state and process any client-side network requests.
  • URL links shared in the chat should show an extracted metadata preview (page title, image, description/summary, etc. like Slack). While it would be fine to use pre-existing components for the preview in a real setting, please implement the metadata fetching yourself on the server (not ajax in the client) and be mindful of the async experience of this for rendering in the client while that info is loading for other users.
  • In the client, show a list of all users who are currently logged in to the room.

nextjs-chat's People

Contributors

visormatt avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

junaidashraff

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.