This is a single page application that displays photos from my life! Click on a photo to see a description. Click the "Like" button on a photo and the number of "Likes" displayed will increase.
Code edited with VS Code using React. Node.js with Postgress and Express. Database built on Postico.
Fork and Clone from the GitHub Repository.
All database setup information is located in the database.sql file. Open Postico and execute the database.sql statements.
Running the server code requires nodemon
. If you don't already have nodemon
, install it globally with npm install nodemon --global
.
npm install
npm run server
Now that the server is running, open a new terminal tab with cmd + t
and start the react client app.
npm run client
Between the server and client, you'll need two terminal tabs. Because we're using nodemon
, both our client side and server side will automatically spin back up when changes are made.
NOTE: Images don't need to be 100px x 100px but it will be easier if the are all the same dimensions.
- Server information will save into the database
- 'Like' counter data stores into the database
- Prepare project for deployment
Pete St. Martin
Dane Smith Chris Black Luke Schlangen