Skip to content

An attempt at building Stackoverflow clone without a UI library, using prisma-orm and others.

License

Notifications You must be signed in to change notification settings

af4oz/stack-underflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stack Underflow

An attempt at building Stackoverflow clone without a UI library, using prisma-orm and others.

How to run this program?

Codesandbox setup

  • Step 1:

    Edit af4oz/stack-underflow/main

    Wait for VM bootup process & Setup task completion....

  • Step 2: Create a local branch on your codesandbox account.

  • Step 3: If all setup tasks are succesfull Run npm run dev else Run npm run prisma:setup && npm run build && npm run dev

Local Setup

Please Note: I have already loaded .env file with required variables, But be sure to check .env.example and add required .env files.

# Install Dependencies
npm install

# Start Mongodb replica set with docker-compose.yml

# Check Environment variables

# Setup Prisma
npx prisma generate && npx prisma db push

# Build App
npm run build

# Start Dev server
npm run dev

TODO

  • fix: Add E2E testing with playwright/cypress
  • fix: Remove Only alphanumeric characters & dash are allowed on tags 🥲
  • fix: Use transactions/others to ensure data consistency
  • fix: Add pagination to pages/users.tsx and others
  • defaultProps issues: See airbnb/babel-plugin-inline-react-svg#126
  • fix: check .graphql files on client and optimize server resolvers and relevant types
    • Fix type issues/mismatches between resolvers & schema.ts
  • fix: hook.js:608 Warning: Prop className did not match. Server: "sc-isRoRg goqrFR" Client: "sc-hRJfrW eNOCPs"
  • fix: Accepted answer tickmark is not showing up to other users (Related Lines of code)
  • feat: Implement/Hide sorting by Hot tab (currently it's sorting by default:"Newest")

About

An attempt at building Stackoverflow clone without a UI library, using prisma-orm and others.

Topics

Resources

License

Stars

Watchers

Forks