Skip to content

jsunga/Tweeper

Repository files navigation

Tweeper

Development

  • React.js
  • Node.js/Express.js
  • PostgreSQL

Screenshots

alt text alt text alt text alt text alt text alt text alt text alt text

How to install Repository

Clone the repo:

git clone https://github.com/jsunga/Tweeper.git

How to Build and Set Up

  • Navigate to root repo and run the following command to download all dependencies Express:
npm install
  • Navigate to the /client and run the following command to download all dependencies for React:
npm install
  • Navigate back to the root repo and create a new file .env
  • Set up the .env file with correct variables (username, password, port, database_name)
LOCAL_DATABASE_URL=postgres://username:password@localhost:port/database_name
BACKEND_URL=http://localhost:5000/api
SESSION_SECRET=CATKEYBOARD
  • Migrate the database using Sequelize:
npm run db:migrate

How to Run

  • Run backend API in development by running the following command from root repo:
npm run start:dev
  • Open a new terminal and navigate to /client and run the following command to run React
npm start

About

Twitter clone using PostgreSQL, Express.js, React.js, and Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages