Skip to content

banerjeesoumya/Thought-Stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thought-Stream

Thought-Stream is a dynamic blogging platform where you can explore, engage with, and share insightful articles across a wide range of topics. Join our vibrant community to discover thought-provoking content and contribute your own perspectives.

Tech Stacks

  • Backend - Hono, TypeScript, Cloudflare Workers
  • Frontend - ReactJS, Tailwind CSS
  • Authentication - JWT
  • Databases - PostgreSQL

Features

  • User friendly interfacce allowing easy navigation between pages and sharing of thoughts within the ThoughtStream community.
  • Easy signup and signin procedures for users.
  • ThoughtStream also features secure authorization for users with the help JSON Web Tokens (JWT).
  • ThoughyStream can be accessed from any device as per user's ease

Installation

  1. Clone the repository

    git clone https://github.com/banerjeesoumya/Thought-Stream.git
    cd Thought-Stream
  2. Setting up the backend

    • Install all the dependencies
      cd backend
      npm install
    • Create a .env file on the backend directory. On the .env file add the variable :
      DATABASE_URL=
    • Run database migration and generate the prisma client :
      npx prisma migrate dev --name setup_schema
      npx prisma generate client
    • To run the server locally :
      npm run dev
    • To deploy the server
      npm run deploy
  3. Setting up the client

    • Install all the dependencies
      cd frontend
      npm install
    • Create a .env file on the frontend directory. On the .env add the vairable :
      VITE_URL=
    • Start the client
      npm run dev