ScreenRecording.mov
NearMe! is a React Native application designed to help you discover the best discounts and promotions at your favorite nearby places. Save money with just a few taps.
- Find a Place: Explore nearby locations offering great deals.
- Activate Your QR Code: Scan the restaurant's QR code to unlock exclusive discounts.
- Enjoy Your Savings: Redeem the best deals and make the most of your visit.
It’s as simple as that!
- Start the server: Open a terminal, navigate to the
api
folder, and run:
npm start
- Launch Prisma Studio: In another terminal, navigate to the
api
folder, and run:
npx prisma studio
Access the Prisma database interface in your browser at: http://localhost:5555
- Start the mobile app: Open another terminal, navigate to the
mobile
folder, and run:
npx expo start
Note the IP address generated by Expo (e.g., Metro waiting on exp://192.168.x.x:3333
), and update the baseURL
in mobile/src/services/api.ts
to match your setup:
import axios from 'axios';
export const api = axios.create({
baseURL: 'http://192.168.x.x:3333', // Replace with your IP address
timeout: 700,
});
- Access the database: Open your browser and navigate to:
http://localhost:5555
Built with 💙 by @Marcos Oliveira