Skip to content

AnthonyFebles/ROBUSTbnb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROBUST bnb

ROBUST bnb is a clone site inspired by airbnb

Technologies Used

My Skills

Preview

LogIn HomePage

Getting Started

  1. You will need to have Node.js installed
    • [How to Install Node.js](https://nodejs.org/en/learn/getting-started/how-to-install-nodejs)
  2. Clone this repo.
    • git clone https://github.com/AnthonyFebles/ROBUSTbnb.git
  3. Install all dependencies from the root folder
    • npm install
  4. CD into the backend
    • cd backend
  5. Create a copy of the environment example
    • cp .env.example .env
  6. From here you'll want to head into the new .env file that was created and change two things
    • where it says, 'JWT_SECRET' enter a strong secret code after the '='
    • where it says, 'SCHEMA' name the schema however you'd like after the '='
  7. Build the backend database
    • npm run rebuild-db
    • You can use this same command to reset the database whenever you would like from the backend directory
  8. Now that the database is built, you can start up the backend!
    • npm start
    • if you ever want to stop running the backend, you can press ctrl + c in the terminal
  9. Open a new terminal in the root directory, do not close the terminal hosting the backend
  10. CD into the frontend
    • CD frontend
  11. Finally, start the frontend and go to 'http://localhost:3000/' in your browser
    • npm start
  12. You can log in as a demo user, or sign up with a new account using the profile button on the top-right.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published