Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 989 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 989 Bytes

The aim of the project is to allow the photographer to create photo gallery for each client. Each gallery is visible only to the customer after entering the appropriate password.

If the administrator logs in, he has an option to add photos for a given client. When the client logs in he has preview of his photos.


gallery

Requirements

This app requires PostgreSQL database installed locally. You can get it here: https://www.postgresql.org/download/
After installation create database and tables (SQL commands provided in database.sql file), and run PostgreSQL service.

Environment Variables

Create .env file in the project directory with your database credentials. It shoud look like this:

DB_USER=
DB_PASSWORD=
DB_HOST=
DB_PORT=
DB_DATABASE=
SESSION_SECRET=

To run this app

npm install

npm start / yarn start