Hello everyone,
My Nightlife App
Live: https://fcc-nightlifeapp-aunz.glitch.me/
Source: https://github.com/aunz/fcc-nightlifeApp
Front end
- React, for components
- React router, for routing
- Apollo React, for fetching data using GraphQL
Back end
- Express
- Apollo express
Database
- Sqlite3
- Better-sqlite
Build tool
- Webpack
- PostCSS
Feedback are welcome
What I learned:
- Yelp API shouldn’t be called from client side as both the client_id and api_key are needed to make a request. The api_key is obviously should not be exposed in client
- Yelp has a rate limiting step, need to anticipate this in the UI
- This project is simpler compared to the Voting App project. In the Nightlife App, there is no graph, only authenticated users can click on the “going” button. Whereas in the Voting App, a graph is needed to display votes, both non-authenticated and authenticated can vote
- Can reuse many boilerplates from the Voting App
This project took me 11 hours over the course of 10 days
An improvement from the Voting App which took me 50 hours, but many of the components from the Nightlife App is borrowed directly from the Voting App