Duration: 3 day task
A full-stack CRUD application to display stored photos and their descriptions, track photo likes, remove photos, and accept additional photo submissions by image URL.
- Node.js
- PostgreSQL
- PostgreSQL client like Postico
- Fork and clone repos
npm install
to acquire the required dependencies- Create a new SQL database named 'react_gallery'
- Run the CREATE TABLE and INSERT INTO scripts from 'database.sql' to initialize the gallery table
npm run server
to start servernpm run client
to start the client-side development build and automatically connect to localhost:3000 in the browser
- Connect to localhost:3000 to view the pre-loaded images
- Click on a photo to display the description for that photo.
- Click on the heart icon to record a 'like' for the photo
- Mouse over an image to reveal the delete icon in the upper-right-hand corner. Click the 'X' to remove the image and associated data from the database.
- Complete the form with an Image URL and Description to store a new image in the database and display it on the page.
- React.js
- Material UI
- Express.js
Thanks to Prime Digital Academy, who equipped me to make this application a reality!
If you have questions about this app, please email [email protected]