Giter Club home page Giter Club logo

finals's Introduction

Install guide

  1. Git clone the project from the repo

  2. CD into frontend_server

  3. Run "npm i"

  4. CD into backend_server

  5. Run "npm i"

  6. While still in backend_server, create a .env file (touch .env) and add the following code with your added user and password

  7. DB_HOST=localhost DB_PORT=5432 DB_USER=Your User DB_PASS=Your Password DB_NAME=furever_db

  8. CD into db

  9. Run psql

  10. CREATE DATABASE furever_db;

  11. \c furever_db

  12. \i schema/01_schema.sql

  13. \i seeds/01_users.sql

  14. \i seeds/02_refuges.sql

  15. \i seeds/03_animals.sql

  16. \i seeds/04_favorites.sql

  17. Make sure your tables where created (SELECT * FROM users; ---> then repeat with refuges, animals and favorites)

  18. Open 2 more terminal tabs

  19. Window 1 ---> CD into backend_server and npm start

  20. Window 2 ---> CD into frontend_app and npm start

  21. React should automatically open a window for "localhost: 3000"(there are four routes that you will find in the frontend_app/src/App.js --> /Login /Register /Home /Favorites)

  22. The backend is running on localhost:5000

finals's People

Contributors

neavy18 avatar reflekshn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.