These are the finished files for the PhotoShare API at the end of chapter 5. To run these files, simply:
- Run
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>
- Run
npm startand open your browser tohttp://localhost:4000/playground.
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.