Git Product home page Git Product logo

api-tsukasa / photovoyage Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 4.0 653 KB

PhotoVoyage is an open source web application for hosting photos of any kind can be Travel, countries, Anime, etc. It has a register and login system also with an admin panel to manage the images uploaded on the platform.

Home Page: https://photovoyage-main.onrender.com/

License: MIT License

JavaScript 29.18% CSS 21.27% EJS 44.48% TypeScript 2.86% Batchfile 0.46% HTML 1.25% VBScript 0.49%
ejs galery web-app

photovoyage's Introduction

PhotoVoyage is an open source web application for hosting photos of any kind can be Travel, countries, Anime, etc. It has a register and login system also with an admin panel to manage the images uploaded on the platform.

Demo: https://photovoyage-main.onrender.com/


rquirements

  • Node.js - a cross-platform runtime environment
  • Git - version control software

Installation

Clone the repository with the git tool

> https://github.com/api-tsukasa/PhotoVoyage.git

this step is very important for the bot to work that's why you need git this step must not be skipped

Installing Dependencies

> npm install

Start Project

> npm run dev

When you start the server locally, you have to enter the following URL

admins.xml

<?xml version="1.0" encoding="UTF-8"?>
<admins>
    <admin>XFkjjp0</admin>
</admins>

The first account with an administrator is called XFkjjp0 but it can be modified until you can add more accounts if you like with the following tag

    <admin>account name</admin>

mods.xml

<?xml version="1.0" encoding="UTF-8"?>
<!-- here to make a user mod you have to put this "<mod>user123</mod>" -->

<mods>
    <mod>XFkjjp34</mod>
</mods>

Features

  • Middleware Setup: The application sets up middleware for various functionalities such as handling file uploads using Multer, sessions using express-session, etc.

  • Static File Serving: Static files like CSS files are served using express.static middleware for styling the web pages.

  • Session Management: Sessions are managed using express-session middleware. User session data includes information such as username, login status, and isAdmin flag.

  • User Authentication: User registration and login functionality are implemented using bcrypt for password hashing and validation.

  • Photo Upload: Users can upload photos, and the uploaded photo information is stored in a database. Multer middleware is used for handling file uploads.

  • Database Operations: SQLite database is used for storing user and photo information. Database operations are performed using SQLite queries.

  • Error Handling: Error pages are rendered when errors occur during processing requests.

  • Admin Panel: There's an admin panel accessible only to admin users. Admins can view and manage photos, search for photos by ID, view user details, and delete photos.

  • User Management: Admins can view user details and manage users, such as viewing user information and deleting users.

  • Logout: Users can log out of their sessions, and session data is cleared.

  • Active Users: The application keeps track of active users using a Map data structure.

  • Support Links: Support links are provided for GitHub repository and bug reporting.

  • Discord integration: has discord integration through web hook that you can configure in the .env file.

  • Server Start: The server is started, and console logs provide information about server URLs and support links.

PhotoVoyage-languages App

It is an app developed by the sstudios team with the help of some members of photoVoyage that allows you to download official and community translations for the photoVoyage web app The app has two versions that is programmed the first version is the one that is programmed with python and the second is the java both do the same function but you can use it anyone depends on your taste

Repository: https://github.com/PhotoVoyage/PhotoVoyage-languages

Discord integration

The photoVoyage open source platform has official discord integration and everything to do with discord will be in the .env file.

DISCORD_NOTIFIER_WEBHOOK_URL=YOUR_WEBHOOK_WEB_URL_OF_DISCORD
DISCORD_NOTIFICATIONS_ENABLED=false

DISCORD_LOGGER_WEBHOOK_URL=YOUR_WEBHOOK_WEB_URL_OF_DISCORD
DISCORD_LOGS_ENABLED=false
DISCORD_LOG_INTERVAL=5000

Sponsors

Thank you very much for supporting us in this project ⭐

Contributors

Thank you very much for helping in the project ❤

photovoyage's People

Contributors

api-tsukasa avatar masterpaintsu avatar photovoyagehelp avatar santiagolxxgg avatar skylandnewmc avatar sstudiosdev avatar staff6773 avatar staffv77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

photovoyage's Issues

Notice

English

Hello,

It's crucial that we remain vigilant at all times regarding the integrity of our system. If you come across any significant bugs that could compromise the stability or security of the admin panel, we kindly ask that you notify us as soon as possible.

Remember, this project is open source, and as such, it greatly benefits from the collaboration and watchfulness of everyone involved. Every bug found and fixed is a step closer to a more robust and reliable system for all.

Your prompt attention to these matters not only helps maintain the system's integrity but also contributes to the continued growth and development of this project we share.

Thank you in advance for your cooperation and dedication. We're here to address any issues that may arise and work together towards a better system for everyone.

Many thanks,

[PhotoVoyage Team]

Español

¡Hola!

Es importante que estemos alerta en todo momento respecto a la integridad de nuestro sistema. Si en algún momento te topas con algún bug significativo que podría comprometer la estabilidad o seguridad del panel de administración, te pedimos encarecidamente que nos avises lo antes posible.

Recuerda que este proyecto es de código abierto y, como tal, se beneficia enormemente de la colaboración y vigilancia de todos los involucrados. Cada bug encontrado y solucionado es un paso más hacia un sistema más robusto y confiable para todos.

Tu pronta atención a estos asuntos no solo ayuda a mantener la integridad del sistema, sino que también contribuye al crecimiento y desarrollo continuo de este proyecto que compartimos.

Gracias de antemano por tu cooperación y dedicación. Estamos aquí para abordar cualquier problema que pueda surgir y trabajar juntos en pos de un mejor sistema para todos.

¡Muchas gracias!

[PhotoVoyage Team]

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.