Perks Plus is a multi-platform application built using Flutter for the frontend, Django for the backend, and PostgreSQL for the database. It aims to provide users with a platform to access various perks and benefits.
The frontend of Perks Plus is developed using Flutter, a cross-platform UI toolkit. We build several pages.
The API's available for
- Login Page: Allows users to log in to their accounts.
- Registration Page: Allows new users to create an account.
- OTP Verification Page: Allows users to verify their phone number using OTP.
Welcome to Perks Plus! This project utilizes Flutter for the frontend, Django for the backend, and PostgreSQL for the database. Below are some instructions to help you get started with the project:
The frontend of Perks Plus is developed using Flutter, a cross-platform UI toolkit. To get started with Flutter development, follow these steps:
- Install Flutter by following the instructions in the official documentation.
- Clone the Perks Plus repository to your local machine.
- Navigate to the
frontenddirectory of the project. - Open the project in your preferred code editor.
- Run
flutter pub getto install dependencies. - Start your emulator or connect your device.
- Run
flutter runto launch the application.
The backend of Perks Plus is built using Django, a high-level Python web framework. Here's how you can set up the backend:
- Ensure you have Python installed on your system. You can download it from the official website.
- Clone the Perks Plus repository to your local machine if you haven't already.
- Navigate to the
backenddirectory. - Create a virtual environment by running
python -m venv env. - Activate the virtual environment. On Windows, run
env\Scripts\activate, and on macOS/Linux, runsource env/bin/activate. - Install Django and other dependencies by running
pip install -r requirements.txt. - Set up your PostgreSQL database and update the database settings in
backend/perks_plus/settings.py. - Run
python manage.py migrateto apply migrations. - Start the Django development server by running
python manage.py runserver.
Perks Plus uses PostgreSQL as its database management system. Follow these steps to set up the database:
- Install PostgreSQL on your system. You can download it from the official website.
- Create a new database for Perks Plus.
- Update the database settings in
backend/perks_plus/settings.pywith your PostgreSQL database credentials.
- For Flutter development, check out the Flutter documentation.
- For Django development, refer to the Django documentation.
- For PostgreSQL, explore the official documentation.
Happy coding!