Skip to content

mskstanmay/FilmFolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FilmFolio

A community-driven platform for movie enthusiasts to connect, share, and discover films together.

Prerequisites

  • Node.js (v18 or higher)
  • PostgreSQL (latest stable version)
  • npm or yarn package manager
  • Modern web browser (Chrome, Firefox, Safari, Edge)

Project Structure

FilmFolio/
├── filmfolio-frontend/  # Next.js frontend application
└── filmfolio-backend/   # Express.js backend application

Getting Started

Backend Setup

  1. Navigate to the backend directory:
cd filmfolio-backend
  1. Install dependencies:
npm install
  1. Create a .env file in the backend directory:
DATABASE_URL="postgresql://username:password@localhost:5432/filmfolio"
JWT_SECRET="your-secret-key"
PORT=3001
  1. Set up the database:
npx prisma db push
  1. Start the backend server:
npm run dev

The backend will run on http://localhost:3001

Frontend Setup

  1. Navigate to the frontend directory:
cd filmfolio-frontend
  1. Install dependencies:
npm install
  1. Create a .env.local file in the frontend directory:
NEXT_PUBLIC_API_URL=http://localhost:3001
  1. Start the frontend development server:
npm run dev

The application will be available at http://localhost:3000

Features

  • User authentication
  • Profile management
  • Post creation and sharing
  • Real-time updates using Socket.IO
  • Image upload and processing

Technologies Used

  • Frontend:

    • Next.js 15
    • React 19
    • TailwindCSS
    • Axios
  • Backend:

    • Express.js
    • Prisma
    • PostgreSQL
    • Socket.IO
    • JWT Authentication

Development

  • Run tests: npm test (in respective directories)
  • Lint code: npm run lint
  • Build for production:
    • Frontend: npm run build
    • Backend: npm run build

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

Made with love 💖💖

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published