GithubHelp home page GithubHelp logo

jasmine-ship-it / chenyuangallery Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 615 KB

An Art Gallery App using Express, Bootstrap, and MongoDB. Users can sign up, upload, and display their artwork. My first project integrating these technologies.

JavaScript 28.98% CSS 40.18% EJS 30.81% Procfile 0.03%

chenyuangallery's Introduction

Chen Yuan Art Gallery

Overview

The Online Art Gallery app enables users to upload and showcase their artwork. Users can sign up, create an account, and comment on the art pieces. This project uses Express for the server, Bootstrap for styling, and MongoDB for the database.

Features

  • User Authentication: Sign up, log in, and manage user accounts.
  • Upload Artwork: Users can upload images of their artwork.
  • Comment on Art: Registered users can comment on artwork.
  • Responsive Design: The app is styled with Bootstrap for a responsive and modern interface.

Technologies Used

  • Express: Web framework for Node.js.
  • Bootstrap: Front-end framework for responsive design.
  • MongoDB: Database for storing user and art data.

Installation

  1. Clone the Repository:
git clone https://github.com/yourusername/online-art-gallery.git
cd online-art-gallery
  1. Install Dependencies:
npm install
  1. Set Up Environment Variables: Create a .env file in the root directory and add your configuration:
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_KEY=your_cloudinary_key
CLOUDINARY_SECRET=your_cloudinary_secret
DATABASE_URL=mongodb://localhost:27017/art-gallery
SESSION_SECRET=your_session_secret
  1. Run the App:
npm start
Project Structure
java
Copy code
online-art-gallery/
├── src/
│   ├── models/
│   │   ├── artwork.js
│   │   ├── comment.js
│   │   └── user.js
│   ├── routes/
│   │   ├── artworks.js
│   │   ├── comments.js
│   │   └── index.js
│   ├── views/
│   │   ├── artworks/
│   │   ├── comments/
│   │   ├── layouts/
│   │   └── partials/
│   ├── app.js
│   └── middleware.js
├── public/
│   ├── css/
│   ├── images/
│   └── js/
├── .env
├── package.json
└── README.md

Usage

  1. Sign Up and Log In: Users can sign up for an account and log in to access all features.

  2. Upload Artwork: Navigate to the upload page, fill in the details, and upload an image of your artwork.

  3. Comment on Art: View any artwork and leave comments if you are logged in.

Contact

For any questions or feedback, please open an issue or reach out to me at [email protected]

Thank you for using the Online Art Gallery! We hope you enjoy showcasing and discovering amazing artwork.

chenyuangallery's People

Contributors

jasmine-ship-it avatar

Watchers

Kostas Georgiou avatar  avatar

chenyuangallery's Issues

full-screen mode

Button/functionality to make a photo full-screen mode so all items can be viewed in their full glory

google analytics

  • Add google analytics to the website - can track all sorts of interesting things very easily
  • try adding in software such as mixpanel which can help you further understand how users might use your product

Incorrect art ratio

  • correct CSS so that the aspect ratio of the artwork are respected in all screen sizes

Image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.