-
Notifications
You must be signed in to change notification settings - Fork 5
Backend Wiki
Welcome to the IU2016 wiki!
1. AWS Server info:
address: 52.23.91.16
port: 22
username: ubuntu
Please use PuTTY to remotely access server console.
Private key file for authentication is .ppk file.
Project location is /var/www/html/cake/app
2. FTP info:
You can use WinSCP or other ftp client.
File protocol: SFTP
Host Name: 52.23.91.16
Port: 22
User name: ubuntu
Private key file for authentication is .ppk file.
3. Database info:
You could use MySQL Workbench to remotely access the database.
SSH Hostname: 52.23.91.16:22
SSH Username: ubuntu
SSH Key File: is .pem file
MySQL Hostname: 127.0.0.1
MySQL Server Port: 3306
Username: root
Password: can be found in file 'server_info.txt' on google drive.
Model Folder: Model classes represent data and are used in CakePHP app for data access.
learning materials: http://book.cakephp.org/2.0/en/models.html
Controller Folder: Define app controllers extend the AppController calss which provide a number of methods that handle data requests.
learning materials: http://book.cakephp.org/2.0/en/controllers.html
View Folder: We will not use this to build our front-end page. Instead, please read Frontend Wiki page.
Please read https://github.com/hantsy/angularjs-cakephp-sample/wiki/2-rest-api
api base url: http://localhost:8080/cake
LOGIN: '/users/login.json',
SIGNUP: '/users/add.json',
LOGOUT: '/users/logout.json',
GALAXIES: '/galaxies.json',
QUADRANTS:'/quadrants.json',
SYSTEMS: '/systems/systemslist/',
ALLSYSTEMS: '/systems.json',
PLANETS:'/planets/planetslist/',
ADDPLANETS:'/planets/add.json',
EDITPLANET:'/planets/edit/',
GETPROFILE:'/profiles/get/',
EDITPROFILE:'/profiles/edit/',
GETSKILLS:'/skills/skillslist/',
GETVIDEOS:'/videos/videoslist/',
ADDVIDEO:'/videos/add.json',
GETVIDEO: '/videos/get/',
DELVIDEO:'/videos/delete/',
EDITVIDEO: '/videos/edit/',
GETROCKETS:'/rockets/rocketslist/',
ADDROCKET:'/rockets/add.json',
DELROCKET:'/rockets/delete/',
GETHOTROCKET:'/rockets/gethottest.json',
ADDSKILL:'/skills/add.json',
DELSKILL:'/skills/delete/',