Giter VIP home page Giter VIP logo

scpma's Introduction

SCPMA

(Simple Cross-Platform Mobile Application)

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.

Prerequisites

  • Node.js
  • npm
  • PostgreSQL
  • For iOS development: macOS, Xcode

Note: Ensure PostgreSQL is installed and its service is running before proceeding.

Getting Started

  1. Clone this repository

  2. Navigate to the project root directory

  3. 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 ..
  4. 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

Project Structure

  • backend/: Contains the Node.js backend project
  • frontend/: Contains the React Native frontend project
  • start-project.sh: Shell script to start both backend and frontend

Notes

  • 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.