GithubHelp home page GithubHelp logo

comp333-mobile's Introduction


SonicScore
SonicScore - mobile

A mobile app designed for song rating and evaluation.

Gitter

Key FeaturesHow To UseDownloadCreditsLicense

Key Features

  • This project explores RESTful APIs and Model-View-Controller (MVC) backend structures.
  • Implementation of JWT token for user authentication
  • User authentication
    • Log in to view, update, delete, or add to your song ratings!

How To Use

To clone and run this application locally, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/PelumiTayo/comp333-mobile.git

# Go into the repository
$ cd comp333-mobile

# For the frontend, go to directory mvc-frontend and install dependencies
$ npm install

# Go to src/pages/services/apiClient.jsx file
$ change this.remoteHostUrl to your wifis ip address

# Run the app
$ npm start

$ run according to whatever device you have. iOS or Android

# For the backend, go to directory mobile-backend
Install composer @ https://getcomposer.org/

- Make sure you have xampp installed, instructions [here](https://www.apachefriends.org/download.html).
- In xampp, run your mySQL database and Apache server.

- move to the directory that has your composer.json file
$ run composer install

- Move your backend folders into the htdocs folder, which is provided by xampp.

- Congratulations! Your backend is up and running on localhost! :)

Core functionality:

  • Model: A database wrapper class that handles sql queries
    • UserModel, RatingModel, CommentModel inherits the Model Class
  • Controller: Handles user requests and passes them to the Model Class for database operations.
    • UserController, RatingController, CommentController inherits the BaseController class.
  • Route: handles requests to 'user-friendly' urls to .php files located in /routes

For detailed documentation, refer to Backend Documentation

Download App

Here

Credits

This software uses the following open source packages:

License

MIT


GitHub @PelumiTayo  ·  GitHub @JohnWhangbo  · 

comp333-mobile's People

Contributors

jwwhangbo avatar pelumitayo avatar

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.