This is a wallpaper site with the primary goal of allowing the grouping of images which can then be accessed through an webservice. The original use-case was to provide a way to easily change out the background of a dashboard app, but it could be applied to any application that would need to access images from a service rather than include the images in the application.
To setup:
- Load the db_schema.sql file into your MySQL database.
- Create an .env file with the following variables:
- NODE_ENV - set to develop or production
- MYSQL_HOST - MySQL host url
- MYSQL_PORT - the port the database is on
- MYSQL_USER - MySQL user name
- MYSQL_PASSWORD - MySQL password
- JWT_SECRET - a string to be used to salt the token
- MAIL_HOST - mail host to be used for password recovery
- MAIL_PORT
- MAIL_USER
- MAIL_PASS
To test:
- Start MySql server with
mamp start
. - Start the Apollo/Express server by running
npm run start
in the root directory. - Start the React client app by
cd client
and then runningnpm run start
.