Skip to content

annvilla1998/campLife

Repository files navigation

CampLife

Clone of Hipcamp.

Render Live Link

CampLife

Visuals

image image image image image

Index

| MVP Features List | Database Schema | API Documentation | Frontend Routes

Technologies Used

  • Javascript
  • React
  • Redux
  • Node
  • Express
  • Postgres
  • VS Code
  • CSS
  • HTML

Getting Started

  1. Clone this repo.
    • git clone https://github.com/annvilla1998/campLife.git
  2. Install dependencies from the root directory.
    • npm install
  3. Create a POSTGRESQL user with CREATEDB and PASSWORD in PSQL
    • CREATE USER WITH CREATEDB PASSWORD <'password'>
  4. Create a .env file in the backend directory based on the .env.example.
  5. Enter your username and password information into the .env file and replace fillers with database name, desired JWT_SECRET, and desired PORT.
  6. Add a proxy to your package.json file within frontend directory with desired port from .env file:
    • "proxy": "https://localhost:5000"
  7. Create database, migrate, and seed by running the following commands:
    • npx dotenv sequelize db:create
    • npx dotenv sequelize db:migrate
    • npx dotenv sequelize db:seed:all
  8. Run the application by running "npm start" in both backend and frontend directories.

Features

Logged in users can:

  • Create/Read/Update/Delete Campsites
  • Create/Read/Update/Delete Reviews
  • Create/Read/Delete Trips

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published