This app will provide one place where parents can find camps and activities for their children, organize their summer itinerary and share that information. The robust search will allow you to narrow down to the camps that suit your children, by activity, type, location, etc. The itinerary will make it easier to organize events and activities planned throughout the summer. The site will also allow you to easily share that information with the parents of your children’s friends to facilitate coordination.
This project uses React, Redux, Express, Passport, and PostgreSQL (a full list of dependencies can be found in package.json
).
Before you get started, make sure you have the following software installed on your computer:
-
Positico is a great application for using the database.
-
Create a new database called
wecamp
. Copy and paste the SQL from the database.sql into a new SQL query. All inserts must be done in order from top to bottom in the database.sql due to dependencies. -
Open the dummydata.sql copy and paste the contents into a new SQL query.
-
In the table
camp
go to thesponsored
column and change a couple camps to TRUE so they will show on the homepage. -
If there are no recent camps please update the timestamp in the
camp
table.
-
Run
npm install
-
Create a
.env
file at the root of the project and paste this line into the file:SERVER_SESSION_SECRET=superDuperSecret
While you're in your new
.env
file, take the time to replacesuperDuperSecret
with some long random string like25POUbVtx6RKVNWszd9ERB9Bb6
to keep your application secure. Here's a site that can help you: https://passwordsgenerator.net/. If you don't do this step, create a secret with less than eight characters, or leave it assuperDuperSecret
, you will get a warning. -
Start postgres if not running already by using
brew services start postgresql
-
Run
npm run server
-
Run
npm run client
-
Navigate to
localhost:3000
-
Register for an account and login "username will be your email address."
-
Once logged in the homepage will look like this
- Brit Carter
- Tang Yang
- Erin Olson
- Nick Neiert