Giter Club home page Giter Club logo

tee-of-tiger's Introduction

Your First Express and React App

Create full stack apps with React and Express. Run your client, server and do a restart of your dump db to have a full-stack project working in minutes

Step by Step instructions - To use this project as your start point

For create the whole project

  1. Go to your source directory in your terminal and run the command git clone https://github.com/Yosolita1978/React-Express-PairProgramming.git NAMENEWDIRECTORY !You will something like this in your terminal.

  2. To restore the DB dump file that the project already contain, just run the command psql -U postgres -f db.sql. Make sure that you have your Postgres password on hand. The psql console will ask you for your password.

  3. To clean your folder from the owner git, run the command rm -rf .git

  4. Run the command git init to start your git repository

  5. Go to the server folder in the project (cd server) and run the command npm install

  6. Inside your server folder, create an .env file with touch .env

  7. Inside your server folder, open the file .env.example and copy the file there.

  8. Inside your .env file, paste the string from .env.example and change the variables with the values from the project. For this template, don't change the name of your db.

  9. Inside your server file: run the command psql -U postgres -f db.sql to restore the DB from the file db.sql

  10. Go to the cliente folder (cd .. and cd client) and run the command npm start

  11. Both server should run now with npm start

  12. Go to localhost:3000 and you should see something like this !You will something like this in your terminal.

tee-of-tiger's People

Contributors

fariba-dk avatar

Watchers

 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.