- Change root password.
passwd root
- Follow steps Secure SSH
- Update Debian.
apt-get update && apt-get upgrade
- Install sudo.
apt-get install sudo
- Install dev tools (some npm packages need it).
apt-get install build-essential
- Choose language.
dpkg-reconfigure locales
and pick fr_FR.UTF-8 if you're french - Use UTC timezone
rm /etc/localtime
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { Route, Redirect, withRouter } from 'react-router'; | |
import { connect } from 'react-redux'; | |
import Proptypes from 'prop-types'; | |
export const PrivateRoute = ({ component: Component, isAuthenticated, ...rest }) => ( | |
<Route | |
{...rest} | |
render={props => ( | |
isAuthenticated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In the test.html, you should find more than 10 errors/lack of optimization. | |
As a developer, have in mind that this project you're working on will grow a lot in the next few months. The project should be optimized for : | |
- Maintainability | |
- Loading speed | |
- HTML5 semantics | |
- Responsive | |
Find as many improvements as you can but don't worry if you can't find everything ! ;) |