SwiftEcons is a React Native application designed to provide economics past papers and study tools for students. It utilizes a Node.js backend with Express.js and MongoDB to manage user authentication and data.
- User Authentication: Secure user registration and login functionality.
- Past Papers: Access a collection of economics past papers from various years.
- PDF Viewer: Integrated PDF viewer for seamless access to past paper content.
- Secrets Management: Allows users to store and manage sensitive information securely.
- Dark Mode: User-friendly dark mode for comfortable viewing in low-light conditions.
- Feedback & Support: In-app feedback form and support resources.
- Frontend:
- React Native
- Expo
- NativeWind (Tailwind CSS)
- Expo Router
- Backend:
- Node.js
- Express.js
- MongoDB
- Mongoose
- Other:
- dotenv
- cors
-
Clone the repository:
git clone [repository URL] cd SwiftEcons
-
Install dependencies:
npm install cd backend npm install cd ..
-
Configure environment variables:
-
Create a
.env
file in thebackend
directory. -
Add the following environment variables:
MONGO_URI=[Your MongoDB Connection String] PORT=[Desired Port Number, e.g., 5000]
-
-
Run the backend server:
cd backend npm run start
-
Run the React Native app:
npm run start
This will start the Expo development server. You can then run the app on your iOS or Android device using the Expo Go app, or by using an emulator.
- Register/Login: Create an account or log in to access the app's features.
- Browse Past Papers: Navigate to the "Past Papers" section to view papers by year.
- View PDFs: Select a paper to view it in the integrated PDF viewer.
- Manage Secrets: Use the "Secrets" feature to store and manage sensitive information securely.
- Customize Appearance: Toggle dark mode in the settings for a comfortable viewing experience.
- Provide Feedback: Use the feedback form to submit suggestions or report issues.
[If you want to encourage contributions, add guidelines here.]
[Add license information here.]