Welcome to Naija234
A community hub for Nigerians around the world — profiles, posts, classifieds, events, and chat.
This starter uses Amazon Cognito Managed Login for authentication. Configure it once, then you can log in and test.
Profiles
Members create profiles with photo, location, bio, and community tags (schools, orgs, professional bodies).
Spaces
Dedicated areas for schools, churches/mosques, professional networks, cities, and interests.
Classifieds & Adverts
Post classified ads, business promotions, and social event adverts (no paid streaming included).
Chat
Real-time chat comes next after the API is deployed (this starter just proves login works).
Suggested Spaces
- Schools & Campuses
- Churches / Mosques
- Professional Networks
- Diaspora Cities
- Classifieds
- Business Promotions
- Events
Setup checklist (5–10 minutes)
- Deploy this zip in Amplify Hosting using Deploy without Git (manual deploy / drag & drop).
- Copy the temporary Amplify URL (it looks like
https://main.xxxxx.amplifyapp.com). - In Cognito → your user pool → App integration → App clients → select your app client → Managed login, add the Amplify URL as a Return URL ending with
/callback.html. - Set a Cognito domain prefix (Managed login) and copy the domain (for example:
https://YOURPREFIX.auth.us-west-2.amazoncognito.com). - Edit
config.jsin this zip (replaceREPLACE_ME), then re-upload the zip to Amplify. - Test: click Log in / Sign up. You should come back to
/callback.htmlthen land on/app.html. - When it works, connect
www.naija234.comin Amplify Hosting and add that URL to Cognito return URLs too.
This uses PKCE (recommended) and does not include any Supabase secrets.