A mobile food ordering and restaurant discovery app for authentic South Asian cuisine.
NaanStaap is a full-stack mobile application that allows users to discover nearby restaurants, browse menus, and place orders for delicious naan, parathas, curries, and chai.
- React Native with Expo
- TypeScript
- React Native Maps for location-based restaurant discovery
- Axios for API communication
- AsyncStorage for local data persistence
- Express.js (Node.js)
- MongoDB for database
- UUID for unique identifiers
- 🗺️ Map-based restaurant discovery
- 🍛 Browse restaurant menus by category
- ⭐ View ratings and reviews
- 🛒 Add items to cart and place orders
- 👤 User authentication (signup/login)
- 📍 Location-based search
- ☕ Chai varieties showcase
- Node.js (v18+)
- MongoDB
- Expo CLI
cd backend
npm installCreate a .env file in the backend folder:
MONGO_URL=your_mongodb_connection_string
DB_NAME=naanstaap
PORT=Start the server:
npm startFor development with auto-reload:
npm run devcd frontend
npm installCreate a .env file in the frontend folder:
EXPO_PUBLIC_BACKEND_URL=http://YOUR_LOCAL_IP:8000Start the app:
npx expo start| Endpoint | Method | Description |
|---|---|---|
/api/ |
GET | Health check |
/api/menu/categories |
GET | Get menu categories |
/api/menu/items |
GET | Get menu items |
/api/menu/items/popular |
GET | Get popular items |
/api/menu/search |
GET | Search menu items |
/api/stores |
GET | Get store locations |
/api/chai |
GET | Get chai varieties |
/api/deals |
GET | Get active deals |
/api/cart/add |
POST | Add item to cart |
/api/cart/:id |
GET | Get cart |
/api/orders |
POST | Place an order |
/api/bookings |
POST | Make a table booking |
/api/favorites |
POST | Add to favorites |
/api/newsletter/subscribe |
POST | Subscribe to newsletter |
/api/contact |
POST | Submit contact form |
NaanStaapApp/
├── frontend/ # React Native Expo app
│ ├── app/ # App screens
│ ├── components/ # Reusable components
│ ├── assets/ # Images and fonts
│ └── .env # Environment variables
├── backend/ # Express.js server
│ ├── server.js # Main API server
│ ├── package.json # Node.js dependencies
│ └── .env # Environment variables
├── backend_test.js # API test suite
└── README.md
Run the API tests:
node backend_test.jsBasit Malik
This project is private and proprietary.