Skip to content

thirst154/twitter_clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Twitter clone

Project to create an as yet unnamed twitter clone with the goal of learning Go and Next Js.

Back End

A CRUD API backend written in go using gin for api requests and GORM for a sqlite database ORM.

TODO

Users

  • Add create session token w/ lifetime
  • Add check session token function
  • Login endpoint needs to return id and sessions token
  • Logout endpoint needs to destroy session token

Posts

  • Add post "/posts"
  • Get Post "/posts/:id"
  • Patch posts "/posts/:id"
  • delete posts "/posts/:id"

Front End

Simple Website for posting messages written using the NextJS framework with Tailwind for UI.

TODO

INIT

  • Init NJS
  • Install Tailwind
  • init shadcnui
  • build navbar
  • Init Pages
    • Login
    • Create Account
    • Home
    • Messages
  • Messages Form
  • Message Component
  • API Req
    • Login
    • Create Account
    • Get Messages
    • Send new Message
    • logout
    • update message
    • delete message