BetterGram is a simple yet powerful web application to share your photos with others.
This application was created solely by me, without the use of any back-end frameworks, as a school project for a subject called web applications.
There were specific requirements for the project, thus, some aspects of the application, mainly UI-related, can be inconsistent.
The development process started in November 2018 and the first publicly available production version was released in February 2019.
- HTML
- PHP
- JavaScript, jQuery, AJAX, ECMAScript, Node.js
- NPM, Webpack, Babel, Modernizr
- CSS, SCSS
- Bootstrap
- MySQL
- Google reCAPTCHA
- Google Analytics
- Gravatar
During the development I used XAMPP package which integrates:
- PHP
- Apache
- MySQL
If you prefer not to use XAMPP, then you will have to configure all of these applications by yourself.
Moreover, in order to bundle JavaScript or compile SCSS files, it is necessary to install NPM which comes together with Node.js.
-
Clone the repository
$ git clone "https://github.com/jonaszkadziela/bettergram.git"
-
Enter
bettergram
project directory$ cd bettergram
-
Install all of the dependencies
$ npm install
-
Run this command so that all
package.json
scripts work properly$ npm install -g npm-check-updates
-
Build SCSS & JavaScript assets
$ npm run build
-
Setup the environment variables by copying an example
env
file, which is located in the root directory of the project. Be sure to adjust the contents of this file to your needs$ cp env.example.php env.php
-
If you are using XAMPP, move the whole
bettergram
folder to thexampp/htdocs
directory. Otherwise, movebettergram
folder to the root folder of your local web server -
Import a MySQL database, which is located in a folder
database_schema
. If you are using XAMPP, then you can easily achieve this thanks to the includedphpMyAdmin
panel -
Run Apache and MySQL services. If you are using XAMPP, then you can do this using the included
XAMPP Control Panel