SCPMA is a lightweight, efficient mobile application demonstrating the integration of modern web technologies for cross-platform development. This project showcases:
- Frontend: React Native for building a responsive and native-like mobile interface
- Backend: Node.js with Express.js, creating a robust RESTful API
- Database: PostgreSQL for reliable and scalable data storage
The application allows users to manage a list of items, demonstrating basic CRUD (Create, Read, Update, Delete) operations in a mobile environment.
- Node.js
- npm
- PostgreSQL
- For iOS development: macOS, Xcode
Note: Ensure PostgreSQL is installed and its service is running before proceeding.
-
Clone this repository
-
Navigate to the project root directory
-
Run the following code to install dependencies for both backend and frontend:
cd backend && npm install && cd ../frontend && npm install && cd ..
Alternatively, you can run these steps manually:
# Install backend dependencies cd backend npm install cd .. # Install frontend dependencies cd frontend npm install cd ..
-
Run Script to start the project:
./start-project.sh
The script will automatically:
- Create the PostgreSQL database if it doesn't exist
- Start the backend server
- Launch the iOS app simulator
backend/
: Contains the Node.js backend projectfrontend/
: Contains the React Native frontend projectstart-project.sh
: Shell script to start both backend and frontend
- This project is currently set up for iOS development only.
- Ensure your PostgreSQL service is running before starting the application.
- To stop all processes, press
Ctrl+C
in the terminal where you ran the start script.