This repository contains a simple authentication example with a backend and a React Native Expo frontend.
The backend
folder contains the server-side code built with Express.js and MongoDB. It handles user registration, login, and logout.
- Clone the repository.
- Navigate to the
backend
folder. - Install the dependencies by running the following command:
yarn
- Start the server by running the following command:
yarn start
- The backend server will be running at
http://localhost:3000
.
The react-native-expo
folder contains the frontend code built with React Native and Expo. It provides a user interface for user registration, login, and logout.
- Navigate to the
react-native-expo
folder. - Install the dependencies by running the following command:
yarn
- Use the Expo Go app on your mobile device to scan the QR code displayed in the terminal or the Expo Dev Tools in the browser.
Contributions are welcome! If you find any issues or would like to add new features, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.