- make a demo directory:
mkdir twitter-client
- Clone twitter-client-react into twitter-client directory:
git clone [email protected]:ostehost/twitter-client-react.git
- Clone twitter-client-php into twitter-client directory:
git clone [email protected]:ostehost/twitter-client-php.git
- install twitter-client-react dependencies:
yarn install
ornpm install
from within twitter-client-react created in step 2 - install twitter-client-php dependencies:
composer install
from within twitter-client-php created in step 3 - Add .env file to twitter-client-react created in steps 2 and twitter-client-php created in step 3
- Add provided credentials to .env files
- Start twitter-client-php server:
php artisan serve
from within twitter-client-php created in step 3 - Start twitter-client-react node server:
yarn server
ornpm run server
from within twitter-client-react created in step 2 - Run the twitter-client-react application:
yarn dev
ornpm run dev
from within twitter-client-react created in step 2 - Visit http://localhost:3000 and search for tweets!
Run yarn build
or npm run build
to build the production project.
Run yarn test
or npm run test
to execute the test via Jest and React Testing Library.