Install
Clone the repository and install the required dependencies by running
git clone git@github.com:Chima1707/jobbatical.git
cd jobbatical
npm install
Note
You have to set an environmental variable DATABASE_URL
to be able to run both the test and aplication.
Run this in your terminal to set up DATABASE_URL
environmental variable.
For this case, set DATABASE_URL
as postgres://kjal0sbv1t:gwrxrzieuj@assignment.codsssqklool.eu-central-1.rds.amazonaws.com:5432/kjal0sbv1t_db
export DATABASE_URL=postgres://kjal0sbv1t:gwrxrzieuj@assignment.codsssqklool.eu-central-1.rds.amazonaws.com:5432/kjal0sbv1t_db
Test
To run the test, run this command, if you have DATABASE_URL
environmental variable setup already.
npm run test
Or run this command, to set up the DATABASE_URL
and also run the test at the same time
DATABASE_URL=postgres://kjal0sbv1t:gwrxrzieuj@assignment.codsssqklool.eu-central-1.rds.amazonaws.com:5432/kjal0sbv1t_db npm run test
Run
To run the application run this command, if you have DATABASE_URL
environmental variable setup already
npm run start
Or run this command, to set up the DATABASE_URL
and also run the application at the same time
DATABASE_URL=postgres://kjal0sbv1t:gwrxrzieuj@assignment.codsssqklool.eu-central-1.rds.amazonaws.com:5432/kjal0sbv1t_db npm run start
Open front-end application to view the frontend application
The Backend services, can be found at top active users list and view user info