This represents a simple application that connects xterm to a shell on the backend.
Frontend uses Node LTS 10.x and yarn package manager.
- Install Node Version Manager
- Install the latest stable 10.x:
nvm install 10
- Set this node version as your default version:
nvm alias default 10
- Verify your default alias with:
nvm list
- Verify that node is active with:
node --version
cd ~/fullstack-takehome-assessment/frontend
npm install
npm run dev
Backend uses Python 3.7 and manages packages via virtualenv.
We use virtualenv to manage our Python dependencies
cd ~/fullstack-takehome-assessment/backend
python3 -m venv env
source env/bin/activate
At this point, you can run:
pip install -r requirements.txt
Activate virtual environment
cd ~/fullstack-takehome-assessment/backend
source env/bin/activate
Launch PostgreSQL and Redis using docker-compose, run initial migrations, launch the development server
docker-compose up -d
./manage.py migrate
./manage.py runserver 5000
Launch frontend build
cd ~/fullstack-takehome-assessment/frontend
npm run dev
The application is going to be available on http://localhost:5000/