Momento is a Pinterest-inspired photo-sharing app where users can sign up, upload photos with descriptions, and explore content shared by others. The app aims to offer a clean and highly visual user experience for discovering and sharing photos.
Check out the live demo here: App Link
Follow these instructions to set up the project on your local machine for development and testing purposes.
Clone the repository:
git clone https://github.com/caesar44bc/photo-gallery.git
cd photo-gallery
Install dependencies:
npm install
Set up PostgreSQL database:
Set up Prisma:
npx prisma migrate dev
Create a .env
file at the root of the project with the following environment variables:
DATABASE_URL="postgresql://user:password@localhost:5432/momento"
Start the development server:
npm run dev
The app will be running at http://localhost:5173
.
momento/
├── public/ # Static assets
├── prisma/ # Prisma schema and migrations
├── src/
│ ├── components/ # React components
│ ├── pages/ # Pages like Home, Profile, Upload
│ ├── services/ # Prisma client and database interaction
│ ├── styles/ # Tailwind CSS styling
│ ├── utils/ # Helper functions
│ ├── App.tsx # Main app component
│ ├── main.tsx # Vite entry point
├── .env # Environment variables
├── package.json # Project metadata and dependencies
└── README.md # Project documentation
Contributions are welcome! To contribute:
git checkout -b feature-branch
).git commit -m 'Add some feature'
).git push origin feature-branch
).This project is licensed under the MIT License - see the LICENSE file for details.