We are rebuilding an AirBnB listing page from scratch
- https://github.com/localhostcnc/reviewList-ak
- https://github.com/localhostcnc/calendar-component-kt
- https://github.com/localhostcnc/booking-info-service-jeff
> 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) An nvmrc file is included if using nvm.
- Node 6.13.0
- Postgresql 11.3
- React/Styled Components front-end
- Express/PostgresQL back-end
- Jest/Enzyme/CircleCI testing
- Webpack/ESLint compiling
From within the root directory:
npm install -g webpack
npm install