An application used to Create/Read/Update/Delete Dive Site Locations by user, built with React, Redux, JavaScript, and CSS
This project is currently in development. Users can add a dive site location: Image, Title, Body of text, and city, state, state, and zip code are optional. Functionality to sort is in progress as wwell as adding comments to a dive site currentlly.
Comming soon....
[SCREENSHOT]
[SCREENSHOT]
-
Clone this repo:
git clone git@github.com:jjtuttle/kelp.git
-
Install dependecies from the
root
directorynpm install
-
Create a POSTGRESSQL user with CREATEDB and PASSWORD in PSQL
CREATE USER <user-name> WITH PASSWORD <'your-string-password'> CRETAEDB
-
Create a
.env
file in the backend directory based off the.env.example
found in the same directory -
Enter your user name and password info into the
.env
file with your desired<database_name>
, a secure combonation of characters for yourJWT_SECRET
, and the desired PORT (perferably 5000). -
Add the following proxy to your
package.json
file in your frontend directory, replacing or keeping the 5000 pert to match your PORT config that is in your.env
file"proxy": "http://localhost:5000"
-
Create the Database, Migrate, and Seed the models
npx dotenv sequelize db:create
npx dotenv sequelize db:migrate
npx dotenv sequelize db:seed:all
-
Start the services in the backend directory
npm start
-
Start the services in the frontend directory, whih then should open the project in your default browser. If not, open a tab and navigate to: http://localhost:3000
npm start
-
The splash page will launch and from there you can login with the Demo User button automatically, signup and create your own login (within the validations), or login with a current user.
-
Once logged in, navigate to Locations to see a list of dive site postings, click add a location to add your own, or [comming soon...] add a review to a posted dive site location