Skip to content

BinIdol36/DTUTrackingEvent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DTU Event Tracking Application

Description

The main point of the "DTU Event Tracking Application" project lies in providing a convenient and effective solution to address the problems and limitations in promoting student participation in extracurricular activities and student programs. This project will:

  • Be a mobile app, running on the Android or iOS platform. It is built using React native.
  • The software is designed for users who are students, student union members and club leaders. It is built using ReactJS.

Installation

  1. Client
  • Clone the repository
git clone https://github.com/lopk11223399/DTUTrackingEvent.git
  • Run npm install in the client_web(website) directory
cd client_web
npm install
  • Run npm install in the DTUTrackingEve_ver2.0(mobile) directory
cd DTUTrackingEve_ver2.0
npm install
  1. Server
  • Clone the repository (server)
https://github.com/heloqua1103/Event-tracking-be.git
  • Run npm install in the Event-tracking-be(server) directory
npm install
  1. database
  • Download xampp
  • Open xampp, click on start of Apache and MySQL, click on Admin of MySQL
  • Create new database with name event-tracking
  • Open folder Event-tracking-be(server)
  • Create a file with name .env. Copy and save
PORT=3000
JWT_SECRET=DTUEventTrackingApplication
JWT_SECRET_REFRESH_TOKEN=DTUEventTrackingApplication
CLOUDINARY_NAME=dwf5uoaqg
CLOUDINARY_KEY=969669645382666
CLOUDINARY_SECRET=BmAtscYlvgBsKSt17ZUSRENGXJ8
LIMIT_USER=10
CLIENT_URL=http://localhost:5173
  • Open terminal of folder Event-tracking-be(server)
  • Run cd src
  • Run npx sequelize-cli db:migrate

Usage

  • Run the server in development mode
  1. Open folder Event-tracking-be
  2. Run the server
npm start
  • Run the website in development mode
  1. Open folder client_web/src/axios.js
  2. Change baseURL: 'http://localhost:3000/api/v1' of server and save file axios.js
  3. Run the website
cd client_web
npm run dev
  • Run the application for mobile in development mode
  1. Open folder DTUTrackingEve_ver2.0/src/axios.js
  2. Change by IPv4 baseURL: 'http://192.168.23.240:3000/api/v1' of server and save file axios.js (How to get ipv4 address)
  3. Mobile device, download Expo
  4. Run the application for mobile
cd DTUTrackingEve_ver2.0
npm start
  1. open QR scan in the device, scan to run the application on the phone

Authors (C1SE29)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages