Skip to content

A social network that allows users to write and post snippets in different languages with a code editor, and interact with other users' posts and profiles. It uses Supabase as the database and includes 2 microservices.

License

Notifications You must be signed in to change notification settings

cau777/code-share

Repository files navigation

Code Share

A social network that allows users to write and post snippets in different languages with a code editor, and interact with other users' posts and profiles. It uses Supabase as the database and includes 2 microservices. It was inspired by Twitter and GitHub, and made using NextJs.

Features

  • Dark theme interface using NextJs and Tailwind.
    • Mobile friendly
  • Authentication
    • Email and password registration, with password requirements
    • Option to sign in with GitHub
    • Managed by Supabase
  • Posting snippet
    • Fields fot title and description
    • Auto-generated keywords
    • Code editor based on Jetbrains IDEs
      • Syntax highlighting of keywords and literals
      • Inline and Multiline comments
      • Auto indent
      • Auto insert closing characters ("()", "{}", "[]")
      • Supports Java, C#, Javascript, Typescript and Python
  • Search bar
  • Profile customization
    • Username, real name and bio
    • Random robot profile image or uploaded from computer (with crop and resize)
  • Likes and comments
  • Microservices
    • Key Terms Extractor
      • Made in Python with Flask
      • Adapted version of my other project Key-Terms-Extractor
      • Calculates Td-Idf based on more than 100MB of code descriptions
    • Image Service
      • Made in C# with ASP.NET Core
      • Executes crop and resize on images and converts them to .jpg
  • Installable PWA with caching
  • Automatic deployment to Azure Container Apps using GitHub Actions
  • Great score on Lighthouse
  • Available in English and Portuguese
  • Hosted on https://caua-rinaldi.dev/projects/code-share

Screenshots

  1. Home Page
  2. Post Snippet Page
  3. Profile Page
  4. Lighthouse Score

About

A social network that allows users to write and post snippets in different languages with a code editor, and interact with other users' posts and profiles. It uses Supabase as the database and includes 2 microservices.

Topics

Resources

License

Stars

Watchers

Forks