Events Near Me - [HACK-R-PLAY]


2 min read

Events Near Me is my idea submission for HACK-R-PLAY.


  • I often find it hard to consolidate events happening around me
  • Although, I can always visit several event platforms, there's no one place that gets all the information
  • Being able to filter events based on interests, preference, location would be beneficial for folks to quickly decide on how they would like to spend their time and in which events.


  • Creation of project on Nhost image.png
  • Follow quick start guide from the official Nhost documentation. I used their starter code too! Very smooth and you can easily build on it.


  • Create Next.js App from the starter code
    npx create-next-app events-retreat --example ""
  • Install required npm packages
    npm install @nhost/react @nhost/nextjs graphql
    npm install @nhost/react-apollo @apollo/client
  • Update environment details
  • Enable Github based Authentication from Nhost image.png Add the application to OAuth Apps from Develop settings on your Github profile: image.png

  • Plugin all the pieces within the code - NhostProvider, ApolloProvider, Authentication. I simply followed the instructions listed on official Nhost documentation

  • For loading the Data to my events table, I made used of Hasura Engine's mutations to insert data and queries to fetch the data.

image.png Note: You will have to update permissions for new users to be able have write permissions selectively.

I referred a few videos that I would like to share:

Thank you Tapas Adhikary and Koustov for doing ReactPlay Live: Knowing Nhost


I had an awesome time building this app. Although, this project has a lot more work to be done, I'm glad that ReactPlay team conducted this HACK-R-PLAY, I got to be more familiar with Nhost and Next.js. I am completely new to React and Next.js, but Nhost's starter code made it easy for me to build upon.

Many thanks to the ReactPlay and Nhost team for this opportunity. Congratulations to all the winners ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰!