- https://github.com/slaviana88
- https://github.com/kbadova
- NodeJs server
- Postgre and sequelize lib
- React + Redux + react-router
- Authenticating with an username + password
- Creating image albums
- Storing up to X pictures in an album, using drag & drop
- Adding descriptions per every moment
- Adding a location per each picture (Google Maps integration)
- Sharing an album in facebook (future aim)
- Go to /client folder and run
npm install && npm start
-> this will install the ui requirements and run the webpack dev server - In new tab go to /server folder and:
-
install backend requirements with
npm install
-
configure database with:
sudo -u postgres createuser image_organizer_user
sudo -u postgres createdb -O image_organizer_user image_organizer
- `sudo -u postgres psql -c "ALTER USER image_organizer_user WITH PASSWORD 'newPassword'"
-
migrate the database with
sequelize db:migrate
-
in case you want to revert migrations:
sequelize db:migrate:undo:all
-
run seeders with
sequelize db:seed
- Run
node index.js
to start the node server