AssignHubWebsite - https://assignhub.app
Source code for AssignHub, including the server and Vue frontend
A live demo of the website can be found here: DEMO
cd frontend
npm install
npm run serve
- Install redis-server. https://redis.io/topics/quickstart
- Start the redis-server service:
sudo service redis-server restart
- Install mongodb
- Start mongodb service
cd server
npm run devStart
- Make sure you are in development mode
NODE_ENV === 'development'
- Make a request to the specified route with a
testUserId
parameter (either in the url query parameters or in the json body) specifying the user you would like to test the route on, e.g.
GET http://localhost:3000/classes/mine?testUserId=123456789012345678901234
POST http://localhost:3000/friends/create-request
Content-Type: application/json
{
"testUserId": "current-users-id",
"userId": "prospective-friends-id"
}
- Make sure you are on the
master
branch - Run
./deploy_scripts/deploy_frontend.sh SERVER_HOST AWS_KEY_LOCATION
- Make sure you are on the
master
branch - Run
./deploy_scripts/deploy_server.sh SERVER_HOST AWS_KEY_LOCATION