This is a simple tool for providing inspiration for creating new nail art. Although it was created explicitly for one person (hence the particular pet being used as the default image), it can be used by anyone!
The application makes use of the Unsplash API, the Smithsonian's Open Access API, and web scraping to provide the necessary assets at random.
The app could relatively easily have been created without an associated back end, but this way allows for the use of a .env
file with API credentials, rather than storing them in the clear. This also keeps the front end simple.
This project is built with React on the front end (styled with Bootstrap) and Node.js on the back end, and the front end was bootstrapped with Create React App.
A version of this application is running on Heroku here.
Run npm install
in both the front end and back end directories.
You can either run the ends separately, using npm start
in each directory, or you can build the front end into the back end using first npm run build
and then cp -r ../backend
in the /frontend
directory. Then you'll be able to simply npm start
in the /backend
directory and be good to go!
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.