Skip to content

localhostcnc/listinginfo

Repository files navigation

localhostBnB

We are rebuilding an AirBnB listing page from scratch

Related Projects (other services)

Table of Contents

  1. Usage
  2. Requirements
  3. Development

Usage

> Server: npm start (nodemon)  
> Webpack: npm run webpack  
> Database: 1) brew install postgresql (Install postgres)  
            2) brew services start postgresql (Start postgres)  
            3) createdb listing_info (Create DB)  
            4) psql listing_info (Use DB)  
              Within psql shell:  
              5) \i {substitute w/ your file path to db_create.sql} (Create Table)  
              6) Optional: (can use w/o username/password) ALTER USER {your_username} WITH PASSWORD {your_password}  
            7) Remove credentials in /database/seed.js & /database/seed.js, or use your postgres credentials from step 6
            8) Get API key from Connor (in slack), input then change api.example.js to api.jsx
            9) npm run seed (Seeds DB)  

Requirements

An nvmrc file is included if using nvm.

  • Node 6.13.0
  • Postgresql 11.3

Development

  • React/Styled Components front-end
  • Express/PostgresQL back-end
  • Jest/Enzyme/CircleCI testing
  • Webpack/ESLint compiling

Installing Dependencies

From within the root directory:

npm install -g webpack
npm install

About

Connor's repo for the listing info module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published