These are the finished files for the PhotoShare API at the end of chapter 5. To run these files, simply:
npm installon this folder.
- Replace the values of the
.envfile with your unique variables.
DB_HOST=<YOUR_MONGODB_HOST> CLIENT_ID=<YOUR_GITHUB_CLIENT_ID> CLIENT_SECRET=<YOUR_GITHUB_CLIENT_SECRET>
npm startand open your browser to
Want to see the project running on Glitch instead?
Note: You'll still need to replace the values of the
.env file with your unique variables, as shown in step 2.