Front end application for DevelopMe_ wk, 12 task.
We were tasked with creating a full stack application from requirements gathering through to development, testing and later deployment.
The back-end part of this project can be found here: https://github.com/Avi-Cohen-Nehemia/camping-api
npm i && npm start
App is still in development but you can access the API locally from your machine by cloning this repo here.
Clone the API repo, and run the following commands.
git clone [email protected]:harrietgoddard/camping-api.git
composer install
vendor/bin/homestead make
cp .env.example .env
// - inside .env change the db name, user and password in .env to homestead, root, secret
// - in homestead.yaml change memory to 512
vagrant up
vagrant ssh
cd code
run artisan key:generate
run artisan migrate
Then depending on your OS, create an .env
file in your react front end app directory using the instructions below.
You need to point the React app towards the appropriate URL. You can edit this in the .env
file in the root directory.
REACT_APP_API_URL=http://<laravel url here>/api/
Then update your .axios
file in the root directory.
baseURL: process.env.REACT_APP_API_URL,
You need to point the React app towards the appropriate URL. You can edit this in the .env
file in the root directory.
REACT_APP_API_URL=http://localhost:8000/api/
Then update your .axios
file in the root directory.
baseURL: process.env.REACT_APP_API_URL,
Front end: Mhairi and Dan
Back end: Harriet and Avi
- React
- Redux
- PHP
- Laravel
- SCSS / CSS
- AWS
- Capistrano