Skip to content

ln2-muyuan/mobile-app-comp4342

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Demo


A full stack social media mobile app for course COMP4342 projects.

Tested on Huawei mate 20: View Demo

Getting Started

Frontend Setup

React Native,version 0.72

Core packages including:

Redux: for front-end state control
Axios: for http request between front-end and back-end

cd Frontend
npm install
npm run android

Backend Setup

Express.js + MongoDB

cd Server
npm install
npm start

You need to create a .env file in the Server folder and add your MONGODB_URL to connect to your database

If you want to connect your frontend with your own backend, you need to change the http request address to your own backend. You need to configure two places.

  1. Frontend/src/utils/request.js: change the domain url in line 11 to your own url
  2. Frontend/src/screens/Home.js change the domain url in line 36