Git Product home page Git Product logo

evchat's Introduction

Edgevanta's Super Very Difficult Expert Level Take Home Problem

Before you begin, you will need to create two free accounts:

Now we can get started with the fun stuff. You will be creating a crude messaging app using Convex and Next.js. Here are the directions:

  • Begin by creating a Next.13 (or later) app using the App Router.
  • Create two routes, one for “alice” and one for “bob” and link to them from the home page.
  • Create a new component called MessageTerminal that contains a textarea input and a submit button.
  • In your convex dashboard (https://dashboard.convex.dev/) create a convex table for storing messages (as well as the message’s sender).
  • Create a convex function for submitting messages to the table.
  • Update the MessageTerminal component so that a user can type a message and submit it to convex.
  • Add the MessageTerminal component to the Alice and Bob routes.
  • Update the component so that the user’s name (”bob” or “alice”) is submitted and stored along with the message.
  • Write a convex function for retrieving the most recent 10 messages and update the MessageTerminal component to display these messages (as well as the user that sent it).
  • Deploy your app to Vercel and check that it is working as expected.
  • Contact Slack and Discord and let them know that they have a new competitor.

Bonus points: Use Tailwind anywhere to make it look pretty!

Helpful links:

evchat's People

Contributors

whitmanschorn avatar

Watchers

 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.