Skip to content

Web App which provides information about campsites throughout the UK. Created with React/Redux and deployed to GitHub pages. This app was created for a full stack group project done by Avi-Cohen-Nehemia, harrietgoddard, Mhairi-Helen and daniel-norris.

Notifications You must be signed in to change notification settings

Avi-Cohen-Nehemia/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.

The back-end part of this project can be found here: https://github.com/Avi-Cohen-Nehemia/camping-api

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

Web App which provides information about campsites throughout the UK. Created with React/Redux and deployed to GitHub pages. This app was created for a full stack group project done by Avi-Cohen-Nehemia, harrietgoddard, Mhairi-Helen and daniel-norris.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.2%
  • CSS 31.1%
  • HTML 3.7%