Skip to content

shari-vari/happy-campers

Repository files navigation

"The" Camping App 🏕️

v 0.1.0

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.

Installation

npm i && npm start

Run local API

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.

Mac OS

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,

Win OS

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,

Teams

Front end: Mhairi and Dan

Back end: Harriet and Avi

Technology Stack

  • React
  • Redux
  • PHP
  • Laravel
  • SCSS / CSS
  • AWS
  • Capistrano

About

Group project to deliver full stack camping app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •