GithubHelp home page GithubHelp logo

pokedotdev / twitter-clone Goto Github PK

View Code? Open in Web Editor NEW
18.0 0.0 0.0 1.61 MB

Twitter Clone made with Remix, EdgeDB & UnoCSS. (Developing)

Home Page: https://twitter-clone.poke.dev

JavaScript 0.07% TypeScript 99.93%
remix edgedb remix-run unocss twitter-clone react reactjs social social-app twitter

twitter-clone's Introduction

Twitter Clone

Twitter clone made with Remix, EdgeDB & UnoCSS.

Demo: twitter-clone.poke.dev

Features

  • Authentication (GitHub)
  • Creating Posts
  • Post Likes
  • Post Comments
  • User Profiles
  • Follow User

Upcoming features

  • Edit Profile & Settings
  • Repost
  • Bookmarks
  • Threads
  • Hashtags & Mentions
  • Search for Posts & Users
  • Dark Mode
  • Optimistic UI
  • Cache (for faster loading)

Development

1. Initialize an EdgeDB project

First install the cli via the EdgeDB installation guide, then in this project directory run (the initializer prompts to do this for you):

edgedb project init # Initialize a local db instance

This creates an EdgeDB instance and applies all migrations from dbschema/migrations.

2. Codegen

Generate code for EdgeDB, UnoCSS and Remix.

pnpm codegen

3. Seed the database

pnpm db:seed

This creates a user with the username "test", in order to interact with it.

4. GitHub OAuth

Configure a GitHub OAuth application with "Authorization callback URL" as:

http://localhost:3000/auth/callback/github

5. Create .env

Rename the file .env.example to .env and only change the values of the variables.

6. Start the server

This starts your app in development mode.

pnpm dev

Go to localhost:3000, create an account with your GitHub account, and explore the application.

twitter-clone's People

Contributors

pokedotdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

twitter-clone's Issues

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.