Photography website (http://dametenebra.com)
- A full dynamic Angularjs & php website (microservice pattern)
- A MySQL database to list photos, links, categories, messages, owners
- A full java backend to manage database and ftp
I have made this solution for my wife, she wanted a website to expose her pictures. All components i used are free and well documented, that's why i share this project. However, make it yours if you want, but please :
- not just copy/past the website, make it your own (the css used here is very simple)
- quote me
- and not sell it.
- replace
yourdbname
(line 14, 16 & 17) by your db name - copy it in phpmyadmin or sql console and execute
- create a user and update php/services/connection/connection.php with your domain, user login & password and db name
To use the backend program, you need to create a file data/conf/conf.properties with theses informations :
DEFAULT_PATH={default path to your service location : ex http://localhost/dtpv2/php/services/}
prog.target=prod|local
ftp.url={url of your ftp server}
ftp.user={login of your ftp server}
ftp.pwd={password of your ftp server}
- open project in your favorite java IDE
- import project with maven
- rename the project
- test it -> DAOIT.java
- export it in .jar file
- put your conf file with the good path in your jar location
- enjoy :)
- title tag
- all meta tags
- header title
- footer title
- all imgs
- legal notice
- all references to dametenebra.com in the php/services/message/message_insert.php (email notification)
$ npm install
# dev build : index.html, css & js
$ grunt dev
# prod build : index.html, minified css & js + prod folder with all you need to instant deploy (all minified partials, css, js, index built & minified, imgs, services)
$ grunt prod
- angularjs : 1.6.3
- angular-ui-bootstrap : 2.5.0
- angular-ui-router : 0.4.2
- bootstrap : 4.0.0-alpha.6
- jquery : 3.1.1
Contact me at eliott.laversin@gmail.com for any request.