Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opinions Forum

A React application where users can share their opinions and vote on them. Built with React, Vite, and uses a JSON-server backend for data persistence.

Features

  • Create and share opinions
  • Upvote and downvote opinions
  • Real-time sorting based on votes
  • Simple and intuitive interface

Prerequisites

  • Node.js (v14 or higher)
  • npm

Setup Instructions

  1. Clone the repository

  2. Install frontend dependencies

npm install
  1. Install backend dependencies
cd backend
npm install
cd ..

Running the Application

  1. Start the backend server
cd backend
npm start

This will start the JSON server on http://localhost:3000

  1. In a new terminal, start the frontend development server
npm run dev

This will start the Vite development server on http://localhost:5173

Project Structure

  • frontend/: React application built with Vite
    • src/components/: React components
    • src/store/: Context providers and state management
  • backend/: JSON-server implementation
    • db.json: Database file
    • app.js: Server configuration

Technologies Used

  • React
  • Vite
  • JSON-server
  • React Context API
  • CSS

About

A fullstack React app to post your opinions freely :)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages